[aarch64-port-dev ] RFR(XXS): 8201185 - AARCH64: bfm instruction encoding hits assert on zero register

Andrew Haley aph at redhat.com
Thu Apr 5 15:38:53 UTC 2018


On 04/05/2018 04:34 PM, Dmitrij Pochepko wrote:
> please review small fix for  8201185 - AARCH64: bfm instruction encoding 
> hits assert on zero register
> 
> bfm* instuctions encoding hits assert when using zero register as 
> source, which should be allowed.
> 
> Fix is trivial: change "general register encoding" call (rf) to 
> "zero-or-general register encoding" call (zrf).
> 
> 
> CR: https://bugs.openjdk.java.net/browse/JDK-8201185
> 
> webrev: http://cr.openjdk.java.net/~dpochepk/8201185/webrev.01/
> 
> 
> I've checked this patch (and actually found this bug) by creating 
> intrinsic with such encoding usage.

Ooh, clever.  I never thought anyone would to that.  OK.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the aarch64-port-dev mailing list