OSDN Git Service

ARM: check for VFPv3
authorMans Rullgard <mans@mansr.com>
Fri, 27 May 2011 19:12:01 +0000 (20:12 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 27 May 2011 19:33:05 +0000 (20:33 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index 4916bad..4659388 100755 (executable)
--- a/configure
+++ b/configure
@@ -1020,6 +1020,7 @@ ARCH_EXT_LIST='
     ppc4xx
     sse
     ssse3
+    vfpv3
     vis
 '
 
@@ -1205,6 +1206,7 @@ armv6t2_deps="arm"
 armvfp_deps="arm"
 iwmmxt_deps="arm"
 neon_deps="arm"
+vfpv3_deps="armvfp"
 
 mmi_deps="mips"
 
@@ -2628,6 +2630,7 @@ EOF
     enabled armvfp  && check_asm armvfp  '"fadds s0, s0, s0"'
     enabled iwmmxt  && check_asm iwmmxt  '"wunpckelub wr6, wr4"'
     enabled neon    && check_asm neon    '"vadd.i16 q0, q0, q0"'
+    enabled vfpv3   && check_asm vfpv3   '"vmov.f32 s0, #1.0"'
 
     enabled_all armv6t2 shared !pic && enable_pic