avoid inlining memory read/write on s390x
This commit is contained in:
@@ -1705,7 +1705,10 @@ static void tcg_out_qemu_ld(TCGContext* s, TCGReg data_reg, TCGReg addr_reg,
|
|||||||
|
|
||||||
base_reg = tcg_out_tlb_read(s, addr_reg, opc, mem_index, 1);
|
base_reg = tcg_out_tlb_read(s, addr_reg, opc, mem_index, 1);
|
||||||
|
|
||||||
tcg_out16(s, RI_BRC | (S390_CC_NE << 4));
|
if (!tcg_uc_has_hookmem(s))
|
||||||
|
tcg_out16(s, RI_BRC | (S390_CC_NE << 4));
|
||||||
|
else
|
||||||
|
tcg_out16(s, RI_BRC | (S390_CC_ALWAYS << 4));
|
||||||
label_ptr = s->code_ptr;
|
label_ptr = s->code_ptr;
|
||||||
s->code_ptr += 1;
|
s->code_ptr += 1;
|
||||||
|
|
||||||
@@ -1732,7 +1735,10 @@ static void tcg_out_qemu_st(TCGContext* s, TCGReg data_reg, TCGReg addr_reg,
|
|||||||
|
|
||||||
base_reg = tcg_out_tlb_read(s, addr_reg, opc, mem_index, 0);
|
base_reg = tcg_out_tlb_read(s, addr_reg, opc, mem_index, 0);
|
||||||
|
|
||||||
tcg_out16(s, RI_BRC | (S390_CC_NE << 4));
|
if (!tcg_uc_has_hookmem(s))
|
||||||
|
tcg_out16(s, RI_BRC | (S390_CC_NE << 4));
|
||||||
|
else
|
||||||
|
tcg_out16(s, RI_BRC | (S390_CC_ALWAYS << 4));
|
||||||
label_ptr = s->code_ptr;
|
label_ptr = s->code_ptr;
|
||||||
s->code_ptr += 1;
|
s->code_ptr += 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user