blob: 144e95370a30ec018a925667c876a04e28966319 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
ARM/Neon: vcvt rounding error
Hello,
While using QEMU commit 47d3b60858d90ac8a0cc3a72af7f95c96781125a (March 28, 2018), I've noticed failures in one of the GCC ARM/Neon tests. The test passes on hardware, and with QEMU-2.11.0, so it looks like a recent regression.
The test builds a vector of 4 float32 with "125.9" as value, then converts them to 4 uint32_t.
The expected result is 125, but we get 126 instead.
Maybe it's just a matter of default rounding mode?
|