@@ -519,7 +519,7 @@ static void tcg_finish_qemu_ldst(TCGContext* s, uint16_t *label2_ptr)
and endianness conversion */
static void tcg_out_qemu_ld(TCGContext* s, const TCGArg* args, int opc)
{
- int addr_reg, data_reg, mem_index, s_bits;
+ int addr_reg, data_reg, mem_index;
int arg0 = TCG_REG_R2;
uint16_t *label2_ptr;
@@ -527,10 +527,8 @@ static void tcg_out_qemu_ld(TCGContext* s, const TCGArg* args, int opc)
addr_reg = *args++;
mem_index = *args;
- s_bits = opc & 3;
-
- dprintf("tcg_out_qemu_ld opc %d data_reg %d addr_reg %d mem_index %d "
- "s_bits %d\n", opc, data_reg, addr_reg, mem_index, s_bits);
+ dprintf("tcg_out_qemu_ld opc %d data_reg %d addr_reg %d mem_index %d\n"
+ opc, data_reg, addr_reg, mem_index);
tcg_prepare_qemu_ldst(s, data_reg, addr_reg, mem_index,
opc, &label2_ptr, 0);
@@ -596,7 +594,7 @@ static void tcg_out_qemu_ld(TCGContext* s, const TCGArg* args, int opc)
static void tcg_out_qemu_st(TCGContext* s, const TCGArg* args, int opc)
{
- int addr_reg, data_reg, mem_index, s_bits;
+ int addr_reg, data_reg, mem_index;
uint16_t *label2_ptr;
int arg0 = TCG_REG_R2;
@@ -604,10 +602,8 @@ static void tcg_out_qemu_st(TCGContext* s, const TCGArg* args, int opc)
addr_reg = *args++;
mem_index = *args;
- s_bits = opc;
-
- dprintf("tcg_out_qemu_st opc %d data_reg %d addr_reg %d mem_index %d "
- "s_bits %d\n", opc, data_reg, addr_reg, mem_index, s_bits);
+ dprintf("tcg_out_qemu_st opc %d data_reg %d addr_reg %d mem_index %d\n"
+ opc, data_reg, addr_reg, mem_index);
tcg_prepare_qemu_ldst(s, data_reg, addr_reg, mem_index,
opc, &label2_ptr, 1);
The s_bits variable was only used in a dprintf, and isn't really informative since we already dump 'opc' from which s_bits is trivially derived. Signed-off-by: Richard Henderson <rth@twiddle.net> --- tcg/s390/tcg-target.c | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-)