unicorn/qemu/target-sparc
Paolo Bonzini 1918761803
target-sparc: fix 32-bit truncation in fpackfix
This is reported by Coverity. The algorithm description at
ftp://ftp.icm.edu.pl/packages/ggi/doc/hw/sparc/Sparc.pdf suggests
that the 32-bit parts of rs2, after the left shift, is treated
as a 64-bit integer. Bits 32 and above are used to do the
saturating truncation.

Backports commit 12a3567c4099be194b44987ac5d7d65b99bcfab7 from qemu
2018-02-17 19:08:40 -05:00
..
cc_helper.c Sparc support added. (#734) 2017-01-23 13:29:41 +08:00
cpu-qom.h remove slow cpu QOM casts (#815) 2017-05-02 14:56:39 +08:00
cpu.c cpu: Change cpu_exec_init() arg to cpu, not env 2018-02-17 15:23:18 -05:00
cpu.h target-*: Drop cpu_gen_code define 2018-02-17 15:23:57 -05:00
fop_helper.c import 2015-08-21 15:04:50 +08:00
helper.c do not use syscall to quit emulation. this can fix issues #147 & #148 2015-09-26 16:49:00 +08:00
helper.h rework code/block tracing 2016-01-22 18:42:27 -08:00
int32_helper.c import 2015-08-21 15:04:50 +08:00
int64_helper.c Sparc support added. (#734) 2017-01-23 13:29:41 +08:00
ldst_helper.c Sparc support added. (#734) 2017-01-23 13:29:41 +08:00
Makefile.objs cleanup Sparc unused code 2017-01-23 12:34:00 +08:00
mmu_helper.c tlb: Add ifetch argument to cpu_mmu_index() 2018-02-17 15:23:37 -05:00
TODO import 2015-08-21 15:04:50 +08:00
translate.c target-*: Advance pc after recognizing a breakpoint 2018-02-17 15:24:11 -05:00
unicorn.c This code should now build the x86_x64-softmmu part 2. 2017-01-19 22:50:28 +11:00
unicorn.h New feature: registers can be bulk saved/restored in an opaque blob 2016-08-20 04:14:07 -07:00
unicorn64.c This code should now build the x86_x64-softmmu part 2. 2017-01-19 22:50:28 +11:00
vis_helper.c target-sparc: fix 32-bit truncation in fpackfix 2018-02-17 19:08:40 -05:00
win_helper.c import 2015-08-21 15:04:50 +08:00