unicorn/qemu
Aurelien Jarno 45927edecf
tcg/mips: fix add2
The add2 code in the tcg_out_addsub2 function doesn't take into account
the case where rl == al == bl. In that case we can't compute the carry
after the addition. As it corresponds to a multiplication by 2, the
carry bit is the bit 31.

While this is a corner case, this prevents x86-64 guests to boot on a
MIPS host.

Backports commit c99d69694af4ed15b33e3f7c2e3ef6972c14358d from qemu
2018-02-17 15:23:23 -05:00
..
crypto crypto: move built-in AES implementation into crypto/ 2018-02-17 15:23:17 -05:00
default-configs
docs
fpu
hw
include cpu: Add wrapper for the set_pc() hook 2018-02-17 15:23:19 -05:00
qapi
qobject
qom qom: strdup() target property name on object_property_add_alias() 2018-02-17 15:23:19 -05:00
scripts
target-arm target-arm: Fix broken SCTLR_EL3 reset 2018-02-17 15:23:19 -05:00
target-i386 target-i386/FPU: a misprint in helper_fistll_ST0 2018-02-17 15:23:22 -05:00
target-m68k cpu-exec: Purge all uses of ENV_GET_CPU() 2018-02-17 15:23:18 -05:00
target-mips target-mips: fix offset calculation for Interrupts 2018-02-17 15:23:23 -05:00
target-sparc cpu-exec: Purge all uses of ENV_GET_CPU() 2018-02-17 15:23:18 -05:00
tcg tcg/mips: fix add2 2018-02-17 15:23:23 -05:00
util crypto: move built-in AES implementation into crypto/ 2018-02-17 15:23:17 -05:00
aarch64.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
aarch64eb.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
accel.c
arm.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
armeb.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
CODING_STYLE
configure
COPYING
COPYING.LIB
cpu-exec.c cpu-exec: Purge all uses of ENV_GET_CPU() 2018-02-17 15:23:18 -05:00
cpus.c cpu-exec: Purge all uses of ENV_GET_CPU() 2018-02-17 15:23:18 -05:00
cputlb.c
exec.c cpu: Change cpu_exec_init() arg to cpu, not env 2018-02-17 15:23:18 -05:00
gen_all_header.sh
glib_compat.c crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
HACKING
header_gen.py crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
ioport.c
LICENSE
m68k.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
Makefile
Makefile.objs crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
Makefile.target
memory.c memory: Add global-locking property to memory regions 2018-02-17 15:23:16 -05:00
memory_mapping.c memory_mapping: Rework cpu related includes 2018-02-17 15:23:15 -05:00
mips.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
mips64.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
mips64el.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
mipsel.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
powerpc.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
qapi-schema.json
qemu-log.c
qemu-timer.c
rules.mak
softmmu_template.h
sparc.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
sparc64.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
tcg-runtime.c
translate-all.c translate-all: Change tb_flush() env argument to cpu 2018-02-17 15:23:18 -05:00
translate-all.h
unicorn_common.h
VERSION
vl.c crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
vl.h
x86_64.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00