RFR (XS) 8215353: x86_32 build failures after JDK-8214751 (X86: Support for VNNI Instructions)
Tobias Hartmann
tobias.hartmann at oracle.com
Thu Dec 13 13:56:41 UTC 2018
Hi Aleksey,
looks good to me.
Best regards,
Tobias
On 13.12.18 14:47, Aleksey Shipilev wrote:
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8215353
>
> mulI_rReg and friends are not available in x86_32.ad, there are mulI_eReg and friends. I think
> 32-bit code should use those.
>
> Fix:
>
> diff -r 9a73a4e4011f -r 6108789077bb src/hotspot/cpu/x86/x86_32.ad
> --- a/src/hotspot/cpu/x86/x86_32.ad Thu Dec 13 15:11:25 2018 +0530
> +++ b/src/hotspot/cpu/x86/x86_32.ad Thu Dec 13 14:10:00 2018 +0100
> @@ -7760,9 +7760,9 @@
> match(Set dst (MulAddS2I (Binary dst src1) (Binary src2 src3)));
> effect(KILL cr, KILL src2);
>
> - expand %{ mulI_rReg(dst, src1, cr);
> - mulI_rReg(src2, src3, cr);
> - addI_rReg(dst, src2, cr); %}
> + expand %{ mulI_eReg(dst, src1, cr);
> + mulI_eReg(src2, src3, cr);
> + addI_eReg(dst, src2, cr); %}
> %}
>
> // Multiply Register Int to Long
>
>
> Testing: x86_32: build, compiler/loopopts/superword/Vec_MulAddS2I.java, hotspot/tier1
>
> Thanks,
> -Aleksey
>
More information about the hotspot-compiler-dev
mailing list