diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-11-06 15:59:38 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-11-06 16:01:03 +0000 |
commit | cd2de0c1c7f1051a2f7bdb0e827dd6057f3bafcd (patch) | |
tree | e692ffff75418c935538ac7bf403f324204e4f13 /compiler/optimizing/codegen_test.cc | |
parent | f746cd9bb573b6b4b8c6dcdcf819c0203a186822 (diff) |
Fix failures after div support.
- We need to special case divide by -1 because of x86.
- Disable div test on arm64, which does not support div yet.
Change-Id: I07e137cb555a958b02a6c4070f296503b7e30bae
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
-rw-r--r-- | compiler/optimizing/codegen_test.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/codegen_test.cc b/compiler/optimizing/codegen_test.cc index 6d4514f0ea..47e9fa4e2f 100644 --- a/compiler/optimizing/codegen_test.cc +++ b/compiler/optimizing/codegen_test.cc @@ -543,7 +543,11 @@ TEST(CodegenTest, MaterializedCondition2) { } } +#if defined(__aarch64__) +TEST(CodegenTest, DISABLED_ReturnDivIntLit8) { +#else TEST(CodegenTest, ReturnDivIntLit8) { +#endif const uint16_t data[] = ONE_REGISTER_CODE_ITEM( Instruction::CONST_4 | 4 << 12 | 0 << 8, Instruction::DIV_INT_LIT8, 3 << 8 | 0, |