android: Only execute customized benchmarks when compiling for ARM based CPUs

This commit is contained in:
Rom Walton 2013-10-22 14:26:51 -04:00
parent 7179b0e27b
commit 95ef460821
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ int cpu_benchmarks(BENCHMARK_DESC* bdp) {
bdp->error_str[0] = '\0'; bdp->error_str[0] = '\0';
host_info.clear_host_info(); host_info.clear_host_info();
#ifdef ANDROID #if defined(ANDROID) && defined(__arm__)
// check for FP accelerator: VFP, Neon, or none; // check for FP accelerator: VFP, Neon, or none;
// run the appropriate version of Whetstone // run the appropriate version of Whetstone
// (separated using namespaces) // (separated using namespaces)