]> Git Repo - qemu.git/commit
target/arm: Fix float16 pairwise Neon ops on big-endian hosts
authorPeter Maydell <[email protected]>
Mon, 2 Nov 2020 16:52:15 +0000 (16:52 +0000)
committerPeter Maydell <[email protected]>
Mon, 2 Nov 2020 16:52:15 +0000 (16:52 +0000)
commit552714c0812a10e5cff239bd29928e5fcb8d8b3b
tree8a172f5921689dcdb7cc542f851aa70bc4c4d3ca
parent8aab18a2c5209e4e48998a61fbc2d89f374331ed
target/arm: Fix float16 pairwise Neon ops on big-endian hosts

In the neon_padd/pmax/pmin helpers for float16, a cut-and-paste error
meant we were using the H4() address swizzler macro rather than the
H2() which is required for 2-byte data.  This had no effect on
little-endian hosts but meant we put the result data into the
destination Dreg in the wrong order on big-endian hosts.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20201028191712[email protected]
target/arm/vec_helper.c
This page took 0.025039 seconds and 4 git commands to generate.