summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/code_generator_arm_vixl.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2017-05-10 11:59:42 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-05-10 11:59:45 +0000
commitc8a5b6c38a4e934a7953b07cc12046b01c32ae5d (patch)
treef1f5e3f57298a3f05d41e1a7f6847d73bac8e851 /compiler/optimizing/code_generator_arm_vixl.h
parentddc38fe3e5618e3922ecc445193dacb2f39ef736 (diff)
parent3082661d260449e1d773f077e914160c7ad58de5 (diff)
downloadart-c8a5b6c38a4e934a7953b07cc12046b01c32ae5d.tar.gz
art-c8a5b6c38a4e934a7953b07cc12046b01c32ae5d.tar.bz2
art-c8a5b6c38a4e934a7953b07cc12046b01c32ae5d.zip
Merge "Revert "ARM: Improve the code generated for HCondition with a constant input""
Diffstat (limited to 'compiler/optimizing/code_generator_arm_vixl.h')
-rw-r--r--compiler/optimizing/code_generator_arm_vixl.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/compiler/optimizing/code_generator_arm_vixl.h b/compiler/optimizing/code_generator_arm_vixl.h
index afff72fb52..657d3c134f 100644
--- a/compiler/optimizing/code_generator_arm_vixl.h
+++ b/compiler/optimizing/code_generator_arm_vixl.h
@@ -401,6 +401,9 @@ class InstructionCodeGeneratorARMVIXL : public InstructionCodeGenerator {
void GenerateCompareTestAndBranch(HCondition* condition,
vixl::aarch32::Label* true_target,
vixl::aarch32::Label* false_target);
+ void GenerateLongComparesAndJumps(HCondition* cond,
+ vixl::aarch32::Label* true_label,
+ vixl::aarch32::Label* false_label);
void DivRemOneOrMinusOne(HBinaryOperation* instruction);
void DivRemByPowerOfTwo(HBinaryOperation* instruction);
void GenerateDivRemWithAnyConstant(HBinaryOperation* instruction);
@@ -717,14 +720,6 @@ class CodeGeneratorARMVIXL : public CodeGenerator {
void EmitMovwMovtPlaceholder(CodeGeneratorARMVIXL::PcRelativePatchInfo* labels,
vixl::aarch32::Register out);
- // `temp` is an extra temporary register that is used for some conditions;
- // callers may not specify it, in which case the method will use a scratch
- // register instead.
- void GenerateConditionWithZero(IfCondition condition,
- vixl::aarch32::Register out,
- vixl::aarch32::Register in,
- vixl::aarch32::Register temp = vixl32::Register());
-
private:
vixl::aarch32::Register GetInvokeStaticOrDirectExtraParameter(HInvokeStaticOrDirect* invoke,
vixl::aarch32::Register temp);