From bfab3833928e3f47559971a6d35f2ec0dc685c1a Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Fri, 11 May 2012 15:14:44 +0200 Subject: * Enable compilation & link with GCC * Enable compilation with GCC and link with armlink * Separate integer/dsp tests as GCC does not support them currently --- compute_ref.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'compute_ref.c') diff --git a/compute_ref.c b/compute_ref.c index ed4f2e6..0d9e4aa 100644 --- a/compute_ref.c +++ b/compute_ref.c @@ -172,7 +172,6 @@ extern void exec_vstX_lane(void); extern void exec_vtbX(void); extern void exec_vrecpe(void); extern void exec_vrsqrte(void); -extern void exec_integer(void); /* Integer (non-NEON) intrinsics */ extern void exec_vcage(void); extern void exec_vcagt(void); @@ -182,8 +181,11 @@ extern void exec_vcvt(void); extern void exec_vrecps(void); extern void exec_vrsqrts(void); +#ifdef __ARMCC_VERSION +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 */ +#endif int main (void) { @@ -337,7 +339,6 @@ int main (void) exec_vrecpe (); exec_vrsqrte (); - exec_integer (); exec_vcage (); exec_vcale (); @@ -347,8 +348,11 @@ int main (void) exec_vrecps (); exec_vrsqrts (); +#ifdef __ARMCC_VERSION + exec_integer (); exec_dsp (); exec_dspfns (); +#endif fprintf (log_file, "Finished\n"); -- cgit v1.2.3