OSDN Git Service

ART: Implement the easy long division/remainder by a constant
authorAlexei Zavjalov <alexei.zavjalov@intel.com>
Mon, 14 Jul 2014 19:19:41 +0000 (02:19 +0700)
committerAndreas Gampe <agampe@google.com>
Mon, 4 Aug 2014 19:35:44 +0000 (12:35 -0700)
commit6bbf0967d217ab2b7bdbb78bfd076b8fb07a44e8
tree39c31e28b92bf33e7ad9fe2cdcc790714c7e839c
parent77a5b50148633c2651edb7f35f5254e40cc878dc
ART: Implement the easy long division/remainder by a constant

Also optimizes long/int divisions by power-of-two values.

Also do some clean-up.

Change-Id: Ie414e64aac251c81361ae107d157c14439e6dab5
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
compiler/dex/quick/gen_invoke.cc
compiler/dex/quick/mir_to_lir.h
compiler/dex/quick/x86/codegen_x86.h
compiler/dex/quick/x86/int_x86.cc
compiler/dex/quick/x86/target_x86.cc
test/003-omnibus-opcodes/src/IntMath.java