mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
exec/memop: Adding signedness to quad definitions
Renaming defines for quad in their various forms so that their signedness is now explicit. Done using git grep as suggested by Philippe, with a bit of hand edition to keep assignments aligned. Signed-off-by: Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20220106210108.138226-2-frederic.petrot@univ-grenoble-alpes.fr Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
dfdb46a376
commit
fc313c6434
47 changed files with 311 additions and 311 deletions
|
@ -246,7 +246,7 @@ static void gen_st_2regs_64(TCGv rh, TCGv rl, TCGv address, DisasContext *ctx)
|
|||
TCGv_i64 temp = tcg_temp_new_i64();
|
||||
|
||||
tcg_gen_concat_i32_i64(temp, rl, rh);
|
||||
tcg_gen_qemu_st_i64(temp, address, ctx->mem_idx, MO_LEQ);
|
||||
tcg_gen_qemu_st_i64(temp, address, ctx->mem_idx, MO_LEUQ);
|
||||
|
||||
tcg_temp_free_i64(temp);
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ static void gen_ld_2regs_64(TCGv rh, TCGv rl, TCGv address, DisasContext *ctx)
|
|||
{
|
||||
TCGv_i64 temp = tcg_temp_new_i64();
|
||||
|
||||
tcg_gen_qemu_ld_i64(temp, address, ctx->mem_idx, MO_LEQ);
|
||||
tcg_gen_qemu_ld_i64(temp, address, ctx->mem_idx, MO_LEUQ);
|
||||
/* write back to two 32 bit regs */
|
||||
tcg_gen_extr_i64_i32(rl, rh, temp);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue