summaryrefslogtreecommitdiffstats
path: root/compiler/dex/quick/arm/codegen_arm.h
diff options
context:
space:
mode:
authorSerguei Katkov <serguei.i.katkov@intel.com>2014-07-05 00:55:46 +0700
committerAndreas Gampe <agampe@google.com>2014-07-11 15:55:07 -0700
commit59a42afc2b23d2e241a7e301e2cd68a94fba51e5 (patch)
tree6f59a144ea0e3b0081205a999f5d0ac2d5846fad /compiler/dex/quick/arm/codegen_arm.h
parent946a55fa7aec5058d357b601ac3554e242cd1afa (diff)
downloadandroid_art-59a42afc2b23d2e241a7e301e2cd68a94fba51e5.tar.gz
android_art-59a42afc2b23d2e241a7e301e2cd68a94fba51e5.tar.bz2
android_art-59a42afc2b23d2e241a7e301e2cd68a94fba51e5.zip
Update counting VR for promotion
For 64-bit it makes sense to compute VR uses together for int and long because core reg is shared. Change-Id: Ie8676ece12c928d090da2465dfb4de4e91411920 Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Diffstat (limited to 'compiler/dex/quick/arm/codegen_arm.h')
-rw-r--r--compiler/dex/quick/arm/codegen_arm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/dex/quick/arm/codegen_arm.h b/compiler/dex/quick/arm/codegen_arm.h
index 43db24cad4..d4b0de7b4e 100644
--- a/compiler/dex/quick/arm/codegen_arm.h
+++ b/compiler/dex/quick/arm/codegen_arm.h
@@ -198,6 +198,13 @@ class ArmMir2Lir FINAL : public Mir2Lir {
RegStorage AllocPreservedDouble(int s_reg);
RegStorage AllocPreservedSingle(int s_reg);
+ bool WideGPRsAreAliases() OVERRIDE {
+ return false; // Wide GPRs are formed by pairing.
+ }
+ bool WideFPRsAreAliases() OVERRIDE {
+ return false; // Wide FPRs are formed by pairing.
+ }
+
private:
void GenFusedLongCmpImmBranch(BasicBlock* bb, RegLocation rl_src1, int64_t val,
ConditionCode ccode);