diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-04-11 16:46:37 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-04-11 16:46:37 +0100 |
commit | 4e71220387e88a22e03e47cabd5aafe105147746 (patch) | |
tree | c7e45993f99ac463c921b27a6ff984bdde26e700 | |
parent | dc1ffa66619b3661f17a309b0aa8d65d8d29583f (diff) | |
parent | 4553e10360a0713e31647220ed396942f9a6fca0 (diff) | |
download | qemu-4e71220387e88a22e03e47cabd5aafe105147746.zip qemu-4e71220387e88a22e03e47cabd5aafe105147746.tar.gz qemu-4e71220387e88a22e03e47cabd5aafe105147746.tar.bz2 |
Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into staging
qemu-sparc update
# gpg: Signature made Mon 11 Apr 2016 16:30:02 BST using RSA key ID AE0F321F
# gpg: Good signature from "Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>"
* remotes/mcayland/tags/qemu-sparc-signed:
target-sparc: fix ldstub sign-extension bug
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target-sparc/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 58572c3..7998ff5 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -4670,7 +4670,7 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn) TCGv r_const; gen_address_mask(dc, cpu_addr); - tcg_gen_qemu_ld8s(cpu_val, cpu_addr, dc->mem_idx); + tcg_gen_qemu_ld8u(cpu_val, cpu_addr, dc->mem_idx); r_const = tcg_const_tl(0xff); tcg_gen_qemu_st8(r_const, cpu_addr, dc->mem_idx); tcg_temp_free(r_const); |