diff options
author | Christophe Lyon <christophe.lyon@st.com> | 2013-01-14 13:33:15 +0100 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@st.com> | 2013-01-14 14:03:30 +0100 |
commit | 302cedf48e55284564aae5256adfdebb1a7a6a0c (patch) | |
tree | a03e15c0dd51e8cdee2188f9997cad39350aa456 | |
parent | c64e1835700898d732d4d41c33218fe3bc31a779 (diff) | |
download | platform_external_arm-neon-tests-302cedf48e55284564aae5256adfdebb1a7a6a0c.tar.gz platform_external_arm-neon-tests-302cedf48e55284564aae5256adfdebb1a7a6a0c.tar.bz2 platform_external_arm-neon-tests-302cedf48e55284564aae5256adfdebb1a7a6a0c.zip |
Enable compilation of non-Neon tests with a non-ARM compiler.
-rw-r--r-- | compute_ref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compute_ref.c b/compute_ref.c index 0d9e4aa..47f51cb 100644 --- a/compute_ref.c +++ b/compute_ref.c @@ -181,7 +181,7 @@ extern void exec_vcvt(void); extern void exec_vrecps(void); extern void exec_vrsqrts(void); -#ifdef __ARMCC_VERSION +#if defined(__ARMCC_VERSION) || !defined(__arm__) extern void exec_integer(void); /* Integer (non-NEON) intrinsics */ extern void exec_dsp(void); /* DSP (non-NEON) intrinsics */ extern void exec_dspfns(void); /* DSP FNS (non-NEON/ITU) intrinsics */ @@ -348,7 +348,7 @@ int main (void) exec_vrecps (); exec_vrsqrts (); -#ifdef __ARMCC_VERSION +#if defined(__ARMCC_VERSION) || !defined(__arm__) exec_integer (); exec_dsp (); exec_dspfns (); |