diff options
author | Alexei Zavjalov <alexei.zavjalov@intel.com> | 2014-07-15 02:19:41 +0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-08-04 12:35:44 -0700 |
commit | 6bbf0967d217ab2b7bdbb78bfd076b8fb07a44e8 (patch) | |
tree | 39c31e28b92bf33e7ad9fe2cdcc790714c7e839c /test | |
parent | 77a5b50148633c2651edb7f35f5254e40cc878dc (diff) | |
download | art-6bbf0967d217ab2b7bdbb78bfd076b8fb07a44e8.zip art-6bbf0967d217ab2b7bdbb78bfd076b8fb07a44e8.tar.gz art-6bbf0967d217ab2b7bdbb78bfd076b8fb07a44e8.tar.bz2 |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/003-omnibus-opcodes/src/IntMath.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/003-omnibus-opcodes/src/IntMath.java b/test/003-omnibus-opcodes/src/IntMath.java index 2e2962a..ad540fd 100644 --- a/test/003-omnibus-opcodes/src/IntMath.java +++ b/test/003-omnibus-opcodes/src/IntMath.java @@ -335,8 +335,8 @@ public class IntMath { special = (start+i) / 15; break; } + Main.assertTrue(normal == special); } - Main.assertTrue(normal == special); } } |