diff options
author | Calin Juravle <calin@google.com> | 2014-11-25 20:56:51 +0000 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2014-11-27 12:30:27 +0000 |
commit | ddb7df25af45d7cd19ed1138e537973735cc78a5 (patch) | |
tree | c428e9482c7d9137c0965eed586969ae108b173f /compiler/utils/arm/assembler_thumb2_test.cc | |
parent | 35ecc8ca8fba713728b8fc60e9e2a275da2028aa (diff) | |
download | android_art-ddb7df25af45d7cd19ed1138e537973735cc78a5.tar.gz android_art-ddb7df25af45d7cd19ed1138e537973735cc78a5.tar.bz2 android_art-ddb7df25af45d7cd19ed1138e537973735cc78a5.zip |
[optimizing compiler] Add CMP{L,G}_{FLOAT,DOUBLE}
Adds:
- float comparison for arm, x86, x86_64 backends.
- ucomis{s,d} assembly to x86 and x86_64.
- vmstat assebmly for thumb2
- new assembly tests
Change-Id: Ie3e19d0c08b3b875cd0a4be4ee4e9c8a4a076290
Diffstat (limited to 'compiler/utils/arm/assembler_thumb2_test.cc')
-rw-r--r-- | compiler/utils/arm/assembler_thumb2_test.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/compiler/utils/arm/assembler_thumb2_test.cc b/compiler/utils/arm/assembler_thumb2_test.cc index 65d6d45296..6ae95a40e6 100644 --- a/compiler/utils/arm/assembler_thumb2_test.cc +++ b/compiler/utils/arm/assembler_thumb2_test.cc @@ -30,7 +30,7 @@ class AssemblerThumb2Test : public AssemblerTest<arm::Thumb2Assembler, } std::string GetAssemblerParameters() OVERRIDE { - return " -mthumb"; + return " -mthumb -mfpu=neon"; } std::string GetDisassembleParameters() OVERRIDE { @@ -156,4 +156,12 @@ TEST_F(AssemblerThumb2Test, Ubfx) { DriverStr(expected, "ubfx"); } +TEST_F(AssemblerThumb2Test, Vmstat) { + GetAssembler()->vmstat(); + + const char* expected = "vmrs APSR_nzcv, FPSCR\n"; + + DriverStr(expected, "vmrs"); +} + } // namespace art |