diff options
author | Alexey Frunze <Alexey.Frunze@imgtec.com> | 2015-11-24 19:28:01 -0800 |
---|---|---|
committer | Alexey Frunze <Alexey.Frunze@imgtec.com> | 2015-11-24 19:28:01 -0800 |
commit | 7e99e054d023af878d6632bc8c8ba07357ded294 (patch) | |
tree | 2c2615326f71612631c3488e0eea7e5e5636fc91 /compiler/optimizing/code_generator_mips.h | |
parent | 883ef45b5d5a2e4005914c7b339881900976b6e7 (diff) |
MIPS32: Improve integer division by constants
Change-Id: I2d1e84e84bdf8d3007cde7c51611ec893a0e9527
Diffstat (limited to 'compiler/optimizing/code_generator_mips.h')
-rw-r--r-- | compiler/optimizing/code_generator_mips.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator_mips.h b/compiler/optimizing/code_generator_mips.h index e3a2cb40ef..caf3174455 100644 --- a/compiler/optimizing/code_generator_mips.h +++ b/compiler/optimizing/code_generator_mips.h @@ -229,6 +229,10 @@ class InstructionCodeGeneratorMIPS : public HGraphVisitor { size_t condition_input_index, MipsLabel* true_target, MipsLabel* false_target); + void DivRemOneOrMinusOne(HBinaryOperation* instruction); + void DivRemByPowerOfTwo(HBinaryOperation* instruction); + void GenerateDivRemWithAnyConstant(HBinaryOperation* instruction); + void GenerateDivRemIntegral(HBinaryOperation* instruction); void HandleGoto(HInstruction* got, HBasicBlock* successor); MipsAssembler* const assembler_; |