mirror of
https://github.com/xemu-project/xemu.git
synced 2025-01-21 11:25:25 +00:00
target-arm: When setting FPSCR.QC, don't clear other FPSCR bits
This patch fixes a bug affecting a variety of Neon instructions, such as VQADD. Signed-off-by: Matt Craighead <mjcraighead@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
9f34841a81
commit
7e598de023
@ -16,7 +16,7 @@
|
||||
#define SIGNBIT (uint32_t)0x80000000
|
||||
#define SIGNBIT64 ((uint64_t)1 << 63)
|
||||
|
||||
#define SET_QC() env->vfp.xregs[ARM_VFP_FPSCR] = CPSR_Q
|
||||
#define SET_QC() env->vfp.xregs[ARM_VFP_FPSCR] |= CPSR_Q
|
||||
|
||||
#define NEON_TYPE1(name, type) \
|
||||
typedef struct \
|
||||
|
Loading…
x
Reference in New Issue
Block a user