Skip to content

ARM: fix Neon vrecpe instruction.

[email protected] qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2softfloat: export float32_nan and float32_infinity.fpu/softfloat-specialize.h fpu/softfloat.h+71 -682 replies
2/2target-arm: fix support for vrecpe.target-arm/helper.c+72 -121 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] ARM: fix Neon vrecpe instruction.

From: Christophe Lyon <[email protected]>

These 2 patches fix the ARM Neon vrecpe instruction by matching the algorithm descibed in the ARM ARM.

With these patches, qemu passes my ARM/Neon tests.

Patch #1 modifies softfloat by exporting float32_nan and float32_infinity. For consistency, I have also moved all the target-dependent definitions of floatXX_default_nan to softfloat.h (ie the 16, 64, x80 and 128 bits versions in addition to the 32 bits ones).

Patch #2 uses these newly exported values and uses the vrecpe algorithm described in the ARM ARM.

Christophe Lyon (2):
softfloat: export float32_nan and float32_infinity.
target-arm: fix support for vrecpe.

 fpu/softfloat-specialize.h |   68 -----------------------------------
 fpu/softfloat.h            |   71 +++++++++++++++++++++++++++++++++++++
 target-arm/helper.c        |   84 +++++++++++++++++++++++++++++++++++++------
 3 files changed, 143 insertions(+), 80 deletions(-)
Signature · 1 line
1.7.2.3