target-s390: Convert FP STORE
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
6e764e97ca
commit
00574261e1
@ -315,6 +315,10 @@
|
||||
C(0x5000, ST, RX_a, Z, r1_o, a2, 0, 0, st32, 0)
|
||||
C(0xe350, STY, RXY_a, LD, r1_o, a2, 0, 0, st32, 0)
|
||||
C(0xe324, STG, RXY_a, Z, r1_o, a2, 0, 0, st64, 0)
|
||||
C(0x6000, STD, RX_a, Z, f1_o, a2, 0, 0, st64, 0)
|
||||
C(0xed67, STDY, RXY_a, LD, f1_o, a2, 0, 0, st64, 0)
|
||||
C(0x7000, STE, RX_a, Z, e1, a2, 0, 0, st32, 0)
|
||||
C(0xed66, STEY, RXY_a, LD, e1, a2, 0, 0, st32, 0)
|
||||
/* STORE RELATIVE LONG */
|
||||
C(0xc40f, STRL, RIL_b, GIE, r1_o, ri2, 0, 0, st32, 0)
|
||||
C(0xc40b, STGRL, RIL_b, GIE, r1_o, ri2, 0, 0, st64, 0)
|
||||
|
@ -2367,25 +2367,6 @@ static void disas_s390_insn(CPUS390XState *env, DisasContext *s)
|
||||
tcg_temp_free_i64(tmp2);
|
||||
tcg_temp_free_i32(tmp32_1);
|
||||
break;
|
||||
case 0x60: /* STD R1,D2(X2,B2) [RX] */
|
||||
insn = ld_code4(env, s->pc);
|
||||
tmp = decode_rx(s, insn, &r1, &x2, &b2, &d2);
|
||||
tmp2 = load_freg(r1);
|
||||
tcg_gen_qemu_st64(tmp2, tmp, get_mem_index(s));
|
||||
tcg_temp_free_i64(tmp);
|
||||
tcg_temp_free_i64(tmp2);
|
||||
break;
|
||||
case 0x70: /* STE R1,D2(X2,B2) [RX] */
|
||||
insn = ld_code4(env, s->pc);
|
||||
tmp = decode_rx(s, insn, &r1, &x2, &b2, &d2);
|
||||
tmp2 = tcg_temp_new_i64();
|
||||
tmp32_1 = load_freg32(r1);
|
||||
tcg_gen_extu_i32_i64(tmp2, tmp32_1);
|
||||
tcg_gen_qemu_st32(tmp2, tmp, get_mem_index(s));
|
||||
tcg_temp_free_i64(tmp);
|
||||
tcg_temp_free_i64(tmp2);
|
||||
tcg_temp_free_i32(tmp32_1);
|
||||
break;
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
case 0x80: /* SSM D2(B2) [S] */
|
||||
/* Set System Mask */
|
||||
@ -4028,6 +4009,17 @@ static void in1_r3(DisasContext *s, DisasFields *f, DisasOps *o)
|
||||
o->in1 = load_reg(get_field(f, r3));
|
||||
}
|
||||
|
||||
static void in1_e1(DisasContext *s, DisasFields *f, DisasOps *o)
|
||||
{
|
||||
o->in1 = load_freg32_i64(get_field(f, r1));
|
||||
}
|
||||
|
||||
static void in1_f1_o(DisasContext *s, DisasFields *f, DisasOps *o)
|
||||
{
|
||||
o->in1 = fregs[get_field(f, r1)];
|
||||
o->g_in1 = true;
|
||||
}
|
||||
|
||||
static void in1_la1(DisasContext *s, DisasFields *f, DisasOps *o)
|
||||
{
|
||||
o->addr1 = get_address(s, 0, get_field(f, b1), get_field(f, d1));
|
||||
|
Loading…
Reference in New Issue
Block a user