[AVX-512] Enable QI-mode mask logic patterns on non-AVX-512DQ targets.
gcc/ * config/i386/i386.md (define_mode_iterator SWI1248_AVX512BW): New. (define_insn "*k<logic><mode>"): Use new iterator. From-SVN: r231061
This commit is contained in:
parent
eadb344f49
commit
6501d5fea0
@ -1,3 +1,8 @@
|
||||
2015-11-30 Kirill Yukhin <kirill.yukhin@intel.com>
|
||||
|
||||
* config/i386/i386.md (define_mode_iterator SWI1248_AVX512BW): New.
|
||||
(define_insn "*k<logic><mode>"): Use new iterator.
|
||||
|
||||
2015-11-30 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
PR target/28115
|
||||
|
@ -7996,10 +7996,13 @@
|
||||
(any_logic:SWI1248x (match_dup 1)
|
||||
(match_dup 2)))])
|
||||
|
||||
(define_mode_iterator SWI1248_AVX512BW
|
||||
[QI HI (SI "TARGET_AVX512BW") (DI "TARGET_AVX512BW")])
|
||||
|
||||
(define_insn "*k<logic><mode>"
|
||||
[(set (match_operand:SWI1248_AVX512BWDQ 0 "mask_reg_operand" "=k")
|
||||
(any_logic:SWI1248_AVX512BWDQ (match_operand:SWI1248_AVX512BWDQ 1 "mask_reg_operand" "k")
|
||||
(match_operand:SWI1248_AVX512BWDQ 2 "mask_reg_operand" "k")))]
|
||||
[(set (match_operand:SWI1248_AVX512BW 0 "mask_reg_operand" "=k")
|
||||
(any_logic:SWI1248_AVX512BW (match_operand:SWI1248_AVX512BW 1 "mask_reg_operand" "k")
|
||||
(match_operand:SWI1248_AVX512BW 2 "mask_reg_operand" "k")))]
|
||||
"TARGET_AVX512F"
|
||||
{
|
||||
if (!TARGET_AVX512DQ && <MODE>mode == QImode)
|
||||
|
Loading…
Reference in New Issue
Block a user