qemu-e2k/target-sparc
Paolo Bonzini 12a3567c40 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.

Message-Id: <1446473134-4330-1-git-send-email-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-11-26 16:47:44 +01:00
..
cc_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
cpu-qom.h softmmu: make do_unaligned_access a method of CPU 2014-06-05 16:10:31 +02:00
cpu.c disas: QOMify sparc specific disas setup 2015-10-22 15:49:40 +02:00
cpu.h target-*: Drop cpu_gen_code define 2015-10-07 20:36:50 +11:00
fop_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
gdbstub.c
helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
int32_helper.c
int64_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
ldst_helper.c target-sparc: is_translating_asi() is TARGET_SPARC64 only 2015-01-21 16:18:01 +00:00
machine.c
Makefile.objs monitor: remove target-specific code from monitor.c 2015-09-16 17:33:32 +02:00
mmu_helper.c tlb: Add "ifetch" argument to cpu_mmu_index() 2015-09-11 08:15:28 -07:00
monitor.c monitor: remove target-specific code from monitor.c 2015-09-16 17:33:32 +02:00
TODO
translate.c target-*: Advance pc after recognizing a breakpoint 2015-10-28 10:57:16 -07:00
vis_helper.c target-sparc: fix 32-bit truncation in fpackfix 2015-11-26 16:47:44 +01:00
win_helper.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00