OSDN Git Service

ART: Fix arm32 assembler test.
authorAndreas Gampe <agampe@google.com>
Fri, 21 Nov 2014 01:01:10 +0000 (17:01 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 21 Nov 2014 01:01:10 +0000 (17:01 -0800)
Drop the requested architecture from armv7ve to armv7-a, but tune
for cortex-a15. That allows sdiv and udiv, but has the advantage
that it works on gcc 4.8.

Change-Id: I92cca55ce01334119d8a402103ec295c66d34ca6

compiler/utils/arm/assembler_arm32_test.cc

index fe12a22..30b89e1 100644 (file)
@@ -49,7 +49,7 @@ class AssemblerArm32Test : public AssemblerArmTest<arm::Arm32Assembler,
   }
 
   std::string GetAssemblerParameters() OVERRIDE {
-    return " -march=armv7ve";  // Arm-v7a with virtualization extension (means we have sdiv).
+    return " -march=armv7-a -mcpu=cortex-a15";  // Arm-v7a, cortex-a15 (means we have sdiv).
   }
 
   const char* GetAssemblyHeader() OVERRIDE {