mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
target-s390: Implement ECAG
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
9c3fd85b14
commit
0774710f1b
@ -285,6 +285,8 @@
|
||||
|
||||
/* EXTRACT ACCESS */
|
||||
C(0xb24f, EAR, RRE, Z, 0, 0, new, r1_32, ear, 0)
|
||||
/* EXTRACT CPU ATTRIBUTE */
|
||||
C(0xeb4c, ECAG, RSY_a, GIE, 0, a2, r1, 0, ecag, 0)
|
||||
/* EXTRACT FPC */
|
||||
C(0xb38c, EFPC, RRE, Z, 0, 0, new, r1_32, efpc, 0)
|
||||
/* EXTRACT PSW */
|
||||
|
@ -2045,6 +2045,13 @@ static ExitStatus op_ear(DisasContext *s, DisasOps *o)
|
||||
return NO_EXIT;
|
||||
}
|
||||
|
||||
static ExitStatus op_ecag(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
/* No cache information provided. */
|
||||
tcg_gen_movi_i64(o->out, -1);
|
||||
return NO_EXIT;
|
||||
}
|
||||
|
||||
static ExitStatus op_efpc(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
tcg_gen_ld32u_i64(o->out, cpu_env, offsetof(CPUS390XState, fpc));
|
||||
|
Loading…
Reference in New Issue
Block a user