summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/arm64/codegen_arm64.h
diff options
context:
space:
mode:
authorMatteo Franchin <matteo.franchin@arm.com>2014-07-01 18:03:08 +0100
committerAndreas Gampe <agampe@google.com>2014-07-12 08:46:56 +0000
commit7c6c2ac4252ac31b42967e0f0233e8d32c5b5abe (patch)
tree80b5698e960547c24b0ba284b312ff085c825817 /compiler/dex/quick/arm64/codegen_arm64.h
parent7aab98798ad676d7ede05b25bcff946a6550868c (diff)
downloadart-7c6c2ac4252ac31b42967e0f0233e8d32c5b5abe.zip
art-7c6c2ac4252ac31b42967e0f0233e8d32c5b5abe.tar.gz
art-7c6c2ac4252ac31b42967e0f0233e8d32c5b5abe.tar.bz2
Aarch64: easy division and remainder for long ints.
Also adding test 701 to test easy division and remainder for int and long integers. Change-Id: I8212c84e4d9eb3e9f3f4f1f1c3418537bb13dc55
Diffstat (limited to 'compiler/dex/quick/arm64/codegen_arm64.h')
-rw-r--r--compiler/dex/quick/arm64/codegen_arm64.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/dex/quick/arm64/codegen_arm64.h b/compiler/dex/quick/arm64/codegen_arm64.h
index 060509b..a38a797 100644
--- a/compiler/dex/quick/arm64/codegen_arm64.h
+++ b/compiler/dex/quick/arm64/codegen_arm64.h
@@ -65,8 +65,12 @@ class Arm64Mir2Lir FINAL : public Mir2Lir {
// Required for target - codegen helpers.
bool SmallLiteralDivRem(Instruction::Code dalvik_opcode, bool is_div, RegLocation rl_src,
RegLocation rl_dest, int lit) OVERRIDE;
+ bool SmallLiteralDivRem64(Instruction::Code dalvik_opcode, bool is_div, RegLocation rl_src,
+ RegLocation rl_dest, int64_t lit);
bool HandleEasyDivRem(Instruction::Code dalvik_opcode, bool is_div,
RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE;
+ bool HandleEasyDivRem64(Instruction::Code dalvik_opcode, bool is_div,
+ RegLocation rl_src, RegLocation rl_dest, int64_t lit);
bool EasyMultiply(RegLocation rl_src, RegLocation rl_dest, int lit) OVERRIDE;
LIR* CheckSuspendUsingLoad() OVERRIDE;
RegStorage LoadHelper(ThreadOffset<4> offset) OVERRIDE;