KNL Fixes for VectorAPI
Paul Sandoz
paul.sandoz at oracle.com
Tue Nov 19 20:19:21 UTC 2019
Hi,
x86.ad
--
-instruct rsmax4S_reduction_reg(rRegI dst, rRegI src1, vecD src2, regF tmp, rRegI tmp2, rRegI tmp3) %{
+instruct rsmax4S_reduction_reg(rRegI dst, rRegI src1, vecD src2, vecS tmp, rRegI tmp2, rRegI tmp3) %{
predicate(UseSSE > 1 && n->in(2)->bottom_type()->is_vect()->element_basic_type() == T_SHORT);
match(Set dst (MaxReductionV src1 src2));
effect(TEMP tmp, TEMP tmp2, TEMP tmp3);
format %{ "pshufd $tmp,$src2,0x1\n\t"
"pminsw $tmp,$src2\n\t"
-instruct rvmax4S_reduction_reg(rRegI dst, rRegI src1, vecD src2, regF tmp, rRegI tmp2, rRegI tmp3) %{
+instruct rvmax4S_reduction_reg(rRegI dst, rRegI src1, vecD src2, vecS tmp, rRegI tmp2, rRegI tmp3) %{
predicate(UseAVX > 0 && n->in(2)->bottom_type()->is_vect()->element_basic_type() == T_SHORT);
match(Set dst (MaxReductionV src1 src2));
effect(TEMP tmp, TEMP tmp2, TEMP tmp3);
format %{ "pshufd $tmp,$src2,0x1\n\t"
"pminsw $tmp,$src2\n\t"
s/pminsw/pmaxsw. ?
Paul,
> On Nov 19, 2019, at 11:17 AM, Rukmannagari, Shravya <shravya.rukmannagari at intel.com> wrote:
>
> Hi All,
> Please find the patch below which fixes the failures for VectorAPI tests on Intel KNL platform. Let me know if you have any questions or suggestions.
> http://cr.openjdk.java.net/~srukmannagar/VectorAPIFixes/webrev_KNLFixes00/
>
> Thanks,
> Shravya.
>
More information about the panama-dev
mailing list