target/s390x: Remove g_out, g_out2, g_in1, g_in2 from DisasContext
These fields are no longer read, so remove them and the writes. Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
ab9984bd91
commit
dd161de75f
@ -1061,7 +1061,6 @@ static const DisasFormatInfo format_info[] = {
|
||||
them, and store them back. See the "in1", "in2", "prep", "wout" sets
|
||||
of routines below for more details. */
|
||||
typedef struct {
|
||||
bool g_out, g_out2, g_in1, g_in2;
|
||||
TCGv_i64 out, out2, in1, in2;
|
||||
TCGv_i64 addr1;
|
||||
TCGv_i128 out_128, in1_128, in2_128;
|
||||
@ -3159,9 +3158,7 @@ static DisasJumpType op_mc(DisasContext *s, DisasOps *o)
|
||||
static DisasJumpType op_mov2(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->out = o->in2;
|
||||
o->g_out = o->g_in2;
|
||||
o->in2 = NULL;
|
||||
o->g_in2 = false;
|
||||
return DISAS_NEXT;
|
||||
}
|
||||
|
||||
@ -3171,9 +3168,7 @@ static DisasJumpType op_mov2e(DisasContext *s, DisasOps *o)
|
||||
TCGv ar1 = tcg_temp_new_i64();
|
||||
|
||||
o->out = o->in2;
|
||||
o->g_out = o->g_in2;
|
||||
o->in2 = NULL;
|
||||
o->g_in2 = false;
|
||||
|
||||
switch (s->base.tb->flags & FLAG_MASK_ASC) {
|
||||
case PSW_ASC_PRIMARY >> FLAG_MASK_PSW_SHIFT:
|
||||
@ -3202,11 +3197,8 @@ static DisasJumpType op_movx(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->out = o->in1;
|
||||
o->out2 = o->in2;
|
||||
o->g_out = o->g_in1;
|
||||
o->g_out2 = o->g_in2;
|
||||
o->in1 = NULL;
|
||||
o->in2 = NULL;
|
||||
o->g_in1 = o->g_in2 = false;
|
||||
return DISAS_NEXT;
|
||||
}
|
||||
|
||||
@ -3708,7 +3700,6 @@ static DisasJumpType op_rosbg(DisasContext *s, DisasOps *o)
|
||||
/* If this is a test-only form, arrange to discard the result. */
|
||||
if (i3 & 0x80) {
|
||||
o->out = tcg_temp_new_i64();
|
||||
o->g_out = false;
|
||||
}
|
||||
|
||||
i3 &= 63;
|
||||
@ -4874,7 +4865,6 @@ static DisasJumpType op_zero2(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->out = tcg_const_i64(0);
|
||||
o->out2 = o->out;
|
||||
o->g_out2 = true;
|
||||
return DISAS_NEXT;
|
||||
}
|
||||
|
||||
@ -5142,7 +5132,6 @@ static void prep_new_x(DisasContext *s, DisasOps *o)
|
||||
static void prep_r1(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->out = regs[get_field(s, r1)];
|
||||
o->g_out = true;
|
||||
}
|
||||
#define SPEC_prep_r1 0
|
||||
|
||||
@ -5151,7 +5140,6 @@ static void prep_r1_P(DisasContext *s, DisasOps *o)
|
||||
int r1 = get_field(s, r1);
|
||||
o->out = regs[r1];
|
||||
o->out2 = regs[r1 + 1];
|
||||
o->g_out = o->g_out2 = true;
|
||||
}
|
||||
#define SPEC_prep_r1_P SPEC_r1_even
|
||||
|
||||
@ -5375,7 +5363,6 @@ static void in1_r1(DisasContext *s, DisasOps *o)
|
||||
static void in1_r1_o(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->in1 = regs[get_field(s, r1)];
|
||||
o->g_in1 = true;
|
||||
}
|
||||
#define SPEC_in1_r1_o 0
|
||||
|
||||
@ -5409,7 +5396,6 @@ static void in1_r1p1(DisasContext *s, DisasOps *o)
|
||||
static void in1_r1p1_o(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->in1 = regs[get_field(s, r1) + 1];
|
||||
o->g_in1 = true;
|
||||
}
|
||||
#define SPEC_in1_r1p1_o SPEC_r1_even
|
||||
|
||||
@ -5464,7 +5450,6 @@ static void in1_r3(DisasContext *s, DisasOps *o)
|
||||
static void in1_r3_o(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->in1 = regs[get_field(s, r3)];
|
||||
o->g_in1 = true;
|
||||
}
|
||||
#define SPEC_in1_r3_o 0
|
||||
|
||||
@ -5595,7 +5580,6 @@ static void in1_m1_64(DisasContext *s, DisasOps *o)
|
||||
static void in2_r1_o(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->in2 = regs[get_field(s, r1)];
|
||||
o->g_in2 = true;
|
||||
}
|
||||
#define SPEC_in2_r1_o 0
|
||||
|
||||
@ -5630,7 +5614,6 @@ static void in2_r2(DisasContext *s, DisasOps *o)
|
||||
static void in2_r2_o(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
o->in2 = regs[get_field(s, r2)];
|
||||
o->g_in2 = true;
|
||||
}
|
||||
#define SPEC_in2_r2_o 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user