Use VFPv3-D16 FPU for ARM builds
authorJani Monoses <jani@ubuntu.com>
Tue, 21 Jun 2022 16:57:57 +0000 (17:57 +0100)
committerIlias Tsitsimpis <iliastsi@debian.org>
Tue, 21 Jun 2022 16:57:57 +0000 (17:57 +0100)
Upstream-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914
Launchpad-Bug: https://ghc.haskell.org/trac/ghc/ticket/5914

Jani writes: The D16 part was Debian/Ubuntu specific, IIRC we define hardfloat
in that particular variant (16 double registers) or we had a different naming
for some reason.

Gbp-Pq: Name ARM-VFPv3D16

m4/fptools.m4

index 8c6c9b7062fb0af628f2f273ce6385337478e9d7..c8d06299aaa0e0d5d41d23809a3efc7cbcd4317e 100644 (file)
@@ -475,7 +475,7 @@ AC_DEFUN([GET_ARM_ISA],
                 )],
                 [changequote(, )dnl
                  ARM_ISA=ARMv7
-                 ARM_ISA_EXT="[VFPv3,NEON]"
+                 ARM_ISA_EXT="[VFPv3D16,NEON]"
                  changequote([, ])dnl
                 ])
         ])