]> Git Repo - qemu.git/blobdiff - target/loongarch/insn_trans/trans_memory.c.inc
target/loongarch: Add fixed point atomic instruction translation
[qemu.git] / target / loongarch / insn_trans / trans_memory.c.inc
index 10914acf52ad4e2a314804df66b190d400780742..d5eb31147c923c885dfb5885a3f0607e01d92c09 100644 (file)
@@ -172,7 +172,7 @@ static bool gen_stptr(DisasContext *ctx, arg_rr_i *a, MemOp mop)
 
     if (a->imm) {
         temp = tcg_temp_new();
-        tcg_gen_addi_tl(temp, addr, a->im);
+        tcg_gen_addi_tl(temp, addr, a->imm);
         addr = temp;
     }
 
This page took 0.024148 seconds and 4 git commands to generate.