gnu: Require NEON on armhf.

* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): On armhf,
  include --with-fpu=neon.
* doc/guix.texi (GNU Distribution): Document that our armhf port
  requires NEON.
This commit is contained in:
Mark H Weaver 2015-07-10 14:51:04 -04:00
parent 16f7190830
commit aa7251176f
2 changed files with 2 additions and 4 deletions

View file

@ -4428,7 +4428,7 @@ Intel/AMD @code{x86_64} architecture, Linux-Libre kernel;
Intel 32-bit architecture (IA32), Linux-Libre kernel; Intel 32-bit architecture (IA32), Linux-Libre kernel;
@item armhf-linux @item armhf-linux
ARMv7-A architecture with hard float, Thumb-2 and VFP3D16 coprocessor, ARMv7-A architecture with hard float, Thumb-2 and NEON,
using the EABI hard-float ABI, and Linux-Libre kernel. using the EABI hard-float ABI, and Linux-Libre kernel.
@item mips64el-linux @item mips64el-linux

View file

@ -55,9 +55,7 @@ (define (gcc-configure-flags-for-triplet target)
'("--with-arch=armv7-a" '("--with-arch=armv7-a"
"--with-float=hard" "--with-float=hard"
"--with-mode=thumb" "--with-mode=thumb"
"--with-fpu=neon"))
;; See <https://wiki.debian.org/ArmHardFloatPort/VfpComparison#FPU>
"--with-fpu=vfpv3-d16"))
(else (else
;; TODO: Add `arm.*-gnueabi', etc. ;; TODO: Add `arm.*-gnueabi', etc.