re PR target/88794 (fixupimm intrinsics are unusable)
2019-01-17 Wei Xiao <wei3.xiao@intel.com> PR target/88794 Revert: 2018-11-12 Wei Xiao <wei3.xiao@intel.com> * config/i386/sse.md: Combine VFIXUPIMM* patterns (<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>): Update. (<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>): Update. (<avx512>_fixupimm<mode>_mask<round_saeonly_name>): Remove. (avx512f_sfixupimm<mode>_maskz<round_saeonly_expand_name>): Update. (avx512f_sfixupimm<mode><sd_maskz_name><round_saeonly_name>): Update. (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Remove. From-SVN: r268012
This commit is contained in:
parent
8a8d6691e8
commit
f4f9a9dc64
2 changed files with 50 additions and 6 deletions
|
@ -1,3 +1,17 @@
|
|||
2019-01-17 Wei Xiao <wei3.xiao@intel.com>
|
||||
|
||||
PR target/88794
|
||||
Revert:
|
||||
2018-11-12 Wei Xiao <wei3.xiao@intel.com>
|
||||
|
||||
* config/i386/sse.md: Combine VFIXUPIMM* patterns
|
||||
(<avx512>_fixupimm<mode>_maskz<round_saeonly_expand_name>): Update.
|
||||
(<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>): Update.
|
||||
(<avx512>_fixupimm<mode>_mask<round_saeonly_name>): Remove.
|
||||
(avx512f_sfixupimm<mode>_maskz<round_saeonly_expand_name>): Update.
|
||||
(avx512f_sfixupimm<mode><sd_maskz_name><round_saeonly_name>): Update.
|
||||
(avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Remove.
|
||||
|
||||
2019-01-17 Wei Xiao <wei3.xiao@intel.com>
|
||||
|
||||
PR target/88794
|
||||
|
|
|
@ -8867,14 +8867,14 @@
|
|||
(match_operand:<avx512fmaskmode> 4 "register_operand")]
|
||||
"TARGET_AVX512F"
|
||||
{
|
||||
emit_insn (gen_<avx512>_fixupimm<mode>_mask<round_saeonly_expand_name> (
|
||||
emit_insn (gen_<avx512>_fixupimm<mode>_maskz_1<round_saeonly_expand_name> (
|
||||
operands[0], operands[1], operands[2], operands[3],
|
||||
CONST0_RTX (<MODE>mode), operands[4]
|
||||
<round_saeonly_expand_operand5>));
|
||||
DONE;
|
||||
})
|
||||
|
||||
(define_insn "<avx512>_fixupimm<mode><mask_name><round_saeonly_name>"
|
||||
(define_insn "<avx512>_fixupimm<mode><sd_maskz_name><round_saeonly_name>"
|
||||
[(set (match_operand:VF_AVX512VL 0 "register_operand" "=v")
|
||||
(unspec:VF_AVX512VL
|
||||
[(match_operand:VF_AVX512VL 1 "register_operand" "v")
|
||||
|
@ -8882,7 +8882,22 @@
|
|||
(match_operand:SI 3 "const_0_to_255_operand")]
|
||||
UNSPEC_FIXUPIMM))]
|
||||
"TARGET_AVX512F"
|
||||
"vfixupimm<ssemodesuffix>\t{%3, <round_saeonly_mask_op4>%2, %1, %0<mask_operand4>|%0<mask_operand4>, %1, %2<round_saeonly_mask_op4>, %3}";
|
||||
"vfixupimm<ssemodesuffix>\t{%3, <round_saeonly_sd_mask_op4>%2, %1, %0<sd_mask_op4>|%0<sd_mask_op4>, %1, %2<round_saeonly_sd_mask_op4>, %3}";
|
||||
[(set_attr "prefix" "evex")
|
||||
(set_attr "mode" "<MODE>")])
|
||||
|
||||
(define_insn "<avx512>_fixupimm<mode>_mask<round_saeonly_name>"
|
||||
[(set (match_operand:VF_AVX512VL 0 "register_operand" "=v")
|
||||
(vec_merge:VF_AVX512VL
|
||||
(unspec:VF_AVX512VL
|
||||
[(match_operand:VF_AVX512VL 1 "register_operand" "v")
|
||||
(match_operand:<sseintvecmode> 2 "nonimmediate_operand" "<round_saeonly_constraint>")
|
||||
(match_operand:SI 3 "const_0_to_255_operand")]
|
||||
UNSPEC_FIXUPIMM)
|
||||
(match_operand:VF_AVX512VL 4 "register_operand" "0")
|
||||
(match_operand:<avx512fmaskmode> 5 "register_operand" "Yk")))]
|
||||
"TARGET_AVX512F"
|
||||
"vfixupimm<ssemodesuffix>\t{%3, <round_saeonly_op6>%2, %1, %0%{%5%}|%0%{%5%}, %1, %2<round_saeonly_op6>, %3}";
|
||||
[(set_attr "prefix" "evex")
|
||||
(set_attr "mode" "<MODE>")])
|
||||
|
||||
|
@ -8894,14 +8909,14 @@
|
|||
(match_operand:<avx512fmaskmode> 4 "register_operand")]
|
||||
"TARGET_AVX512F"
|
||||
{
|
||||
emit_insn (gen_avx512f_sfixupimm<mode>_mask<round_saeonly_expand_name> (
|
||||
emit_insn (gen_avx512f_sfixupimm<mode>_maskz_1<round_saeonly_expand_name> (
|
||||
operands[0], operands[1], operands[2], operands[3],
|
||||
CONST0_RTX (<MODE>mode), operands[4]
|
||||
<round_saeonly_expand_operand5>));
|
||||
DONE;
|
||||
})
|
||||
|
||||
(define_insn "avx512f_sfixupimm<mode><mask_name><round_saeonly_name>"
|
||||
(define_insn "avx512f_sfixupimm<mode><sd_maskz_name><round_saeonly_name>"
|
||||
[(set (match_operand:VF_128 0 "register_operand" "=v")
|
||||
(unspec:VF_128
|
||||
[(match_operand:VF_128 1 "register_operand" "v")
|
||||
|
@ -8909,7 +8924,22 @@
|
|||
(match_operand:SI 3 "const_0_to_255_operand")]
|
||||
UNSPEC_FIXUPIMM))]
|
||||
"TARGET_AVX512F"
|
||||
"vfixupimm<ssescalarmodesuffix>\t{%3, <round_saeonly_mask_op4>%2, %1, %0<mask_operand4>|%0<mask_operand4>, %1, %<iptr>2<round_saeonly_mask_op4>, %3}";
|
||||
"vfixupimm<ssescalarmodesuffix>\t{%3, <round_saeonly_sd_mask_op4>%2, %1, %0<sd_mask_op4>|%0<sd_mask_op4>, %1, %<iptr>2<round_saeonly_sd_mask_op4>, %3}";
|
||||
[(set_attr "prefix" "evex")
|
||||
(set_attr "mode" "<ssescalarmode>")])
|
||||
|
||||
(define_insn "avx512f_sfixupimm<mode>_mask<round_saeonly_name>"
|
||||
[(set (match_operand:VF_128 0 "register_operand" "=v")
|
||||
(vec_merge:VF_128
|
||||
(unspec:VF_128
|
||||
[(match_operand:VF_128 1 "register_operand" "v")
|
||||
(match_operand:<sseintvecmode> 2 "<round_saeonly_nimm_predicate>" "<round_saeonly_constraint>")
|
||||
(match_operand:SI 3 "const_0_to_255_operand")]
|
||||
UNSPEC_FIXUPIMM)
|
||||
(match_operand:VF_128 4 "register_operand" "0")
|
||||
(match_operand:<avx512fmaskmode> 5 "register_operand" "Yk")))]
|
||||
"TARGET_AVX512F"
|
||||
"vfixupimm<ssescalarmodesuffix>\t{%3, <round_saeonly_op6>%2, %1, %0%{%5%}|%0%{%5%}, %1, %<iptr>2<round_saeonly_op6>, %3}";
|
||||
[(set_attr "prefix" "evex")
|
||||
(set_attr "mode" "<ssescalarmode>")])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue