[aarch64-port-dev ] RFR: 8221658: aarch64: add necessary predicate for ubfx patterns
Andrew Haley
aph at redhat.com
Tue Apr 9 09:20:35 UTC 2019
On 4/9/19 2:36 AM, Yangfei (Felix) wrote:
> This can pass the fuzz test and we got the same output as when the test is executed on the x86 platform.
> New webrev: http://cr.openjdk.java.net/~fyang/8221658/webrev.02/
> This also incorporates the following two constraints:
> 2. mask != 0
> 3. rshift + width <= 32/64 (width = exact_log2(mask+1))
>
> JTreg tested with a fastdebug build, OK?
That looks right, thanks.
Because C2 does not mask immediate shifts, there are other lurking
bugs. It would be good to systematically mask all immediate shift
counts throughout aarch64.ad in a separate patch.
Would you like to do that work? Thanks.
--
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 hotspot-compiler-dev
mailing list