Message ID | 1386257930.8800.35.camel@localhost.localdomain |
---|---|
State | New |
Headers | show |
On 12/05/2013 03:38 PM, Edward Nevill wrote:
> Ok, to push?
OK, ta.
Andrew.
diff -r 141fc5d4229a -r 35346211c05e src/cpu/aarch64/vm/aarch64.ad --- a/src/cpu/aarch64/vm/aarch64.ad Mon Dec 02 17:19:42 2013 +0000 +++ b/src/cpu/aarch64/vm/aarch64.ad Thu Dec 05 15:27:51 2013 +0000 @@ -6927,11 +6927,12 @@ match(Set dst (LShiftL (ConvI2L src) scale)); ins_cost(DEFAULT_COST); - format %{ "sbfm $dst, $src, 64-$scale, 31\t" %} - - ins_encode %{ - __ sbfm(as_Register($dst$$reg), - as_Register($src$$reg), (64u - $scale$$constant) & 63, 31); + format %{ "sbfiz $dst, $src, $scale & 63, -$scale & 63\t" %} + + ins_encode %{ + __ sbfiz(as_Register($dst$$reg), + as_Register($src$$reg), + $scale$$constant & 63, (-$scale$$constant) & 63); %} ins_pipe(pipe_class_default); --- CUT HERE ---