qemu-e2k/target/arm
Peter Maydell a15945d98d target/arm: Make FPSCR/FPCR trapped-exception bits RAZ/WI
The {IOE, DZE, OFE, UFE, IXE, IDE} bits in the FPSCR/FPCR are for
enabling trapped IEEE floating point exceptions (where IEEE exception
conditions cause a CPU exception rather than updating the FPSR status
bits). QEMU doesn't implement this (and nor does the hardware we're
modelling), but for implementations which don't implement trapped
exception handling these control bits are supposed to be RAZ/WI.
This allows guest code to test for whether the feature is present
by trying to write to the bit and checking whether it sticks.

QEMU is incorrectly making these bits read as written. Make them
RAZ/WI as the architecture requires.

In particular this was causing problems for the NetBSD automatic
test suite.

Reported-by: Martin Husemann <martin@netbsd.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190131130700.28392-1-peter.maydell@linaro.org
2019-02-05 16:52:42 +00:00
..
arch_dump.c
arm_ldst.h
arm-powerctl.c arm: Clarify the logic of set_pc() 2019-02-01 14:55:46 +00:00
arm-powerctl.h
arm-semi.c
cpu64.c target/arm: Enable BTI for -cpu max 2019-02-05 16:52:38 +00:00
cpu-qom.h
cpu.c target/arm: Enable TBI for user-only 2019-02-05 16:52:40 +00:00
cpu.h target/arm: Make FPSCR/FPCR trapped-exception bits RAZ/WI 2019-02-05 16:52:42 +00:00
crypto_helper.c
gdbstub64.c
gdbstub.c
helper-a64.c
helper-a64.h
helper-sve.h
helper.c target/arm: Make FPSCR/FPCR trapped-exception bits RAZ/WI 2019-02-05 16:52:42 +00:00
helper.h
idau.h
internals.h target/arm: Compute TB_FLAGS for TBI for user-only 2019-02-05 16:52:40 +00:00
iwmmxt_helper.c
kvm32.c
kvm64.c
kvm_arm.h
kvm-consts.h
kvm-stub.c
kvm.c
machine.c target/arm: Swap PMU values before/after migrations 2019-01-21 10:38:55 +00:00
Makefile.objs
monitor.c
neon_helper.c
op_addsub.h
op_helper.c
pauth_helper.c target/arm: Implement pauth_computepac 2019-01-21 10:38:55 +00:00
psci.c
sve_helper.c
sve.decode
trace-events
translate-a64.c target/arm: Clean TBI for data operations in the translator 2019-02-05 16:52:40 +00:00
translate-a64.h
translate-sve.c
translate.c
translate.h target/arm: Add TBFLAG_A64_TBID, split out gen_top_byte_ignore 2019-02-05 16:52:39 +00:00
vec_helper.c