summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorMateja Marjanovic <Mateja.Marjanovic@rt-rk.com>2019-04-02 14:11:50 +0200
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-05-26 17:32:37 +0200
commitcf122bf8d2732d5d8647901ebaea596668aaaa3a (patch)
tree5271ce67ac3ce3fa918b9376cb1b5dd142c6ba29 /hw/core/qdev-properties-system.c
parentd2a40a5f6938f30f44b536e997e1e89bb62b971c (diff)
downloadfocaccia-qemu-cf122bf8d2732d5d8647901ebaea596668aaaa3a.tar.gz
focaccia-qemu-cf122bf8d2732d5d8647901ebaea596668aaaa3a.zip
target/mips: Make the results of MOD_<U|S>.<B|H|W|D> the same as on hardware
MSA instructions MOD_<U|S>.<B|H|W|D> when dividing by zero,
didn't return the same value when executed on a referent hardware
(FPGA MIPS 64 r6, little endian) and when executed on QEMU, which
is not a real bug, because the result when dividing by zero is
UNPREDICTABLE [1] (page 255, 256).

[1] MIPS Architecture for Programmers
    Volume IV-j: The MIPS64 SIMD
    Architecture Module, Revision 1.12

Signed-off-by: Mateja Marjanovic <mateja.marjanovic@rt-rk.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <1554207110-9113-3-git-send-email-mateja.marjanovic@rt-rk.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions