mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
x86: correct "length_immediate" in a few cases
When first added explicitly in 3ddffba914
("i386.md
(sse4_1_round<mode>2): Add avx512f alternative"), "*" should not have
been used for the pre-existing alternative. The attribute was plain
missing. Subsequent changes adding more alternatives then generously
extended the bogus pattern.
Apparently something similar happened to the two mmx_pblendvb_* insns.
gcc/
* config/i386/i386.md (sse4_1_round<mode>2): Make
"length_immediate" uniformly 1.
* config/i386/mmx.md (mmx_pblendvb_v8qi): Likewise.
(mmx_pblendvb_<mode>): Likewise.
This commit is contained in:
parent
80770e9043
commit
1a98bee8c1
@ -21600,7 +21600,7 @@
|
||||
vrndscale<ssemodesuffix>\t{%2, %1, %d0|%d0, %1, %2}"
|
||||
[(set_attr "type" "ssecvt")
|
||||
(set_attr "prefix_extra" "1,1,1,*,*")
|
||||
(set_attr "length_immediate" "*,*,*,1,1")
|
||||
(set_attr "length_immediate" "1")
|
||||
(set_attr "prefix" "maybe_vex,maybe_vex,maybe_vex,evex,evex")
|
||||
(set_attr "isa" "noavx512f,noavx512f,noavx512f,avx512f,avx512f")
|
||||
(set_attr "avx_partial_xmm_update" "false,false,true,false,true")
|
||||
|
@ -3094,7 +3094,7 @@
|
||||
[(set_attr "isa" "noavx,noavx,avx")
|
||||
(set_attr "type" "ssemov")
|
||||
(set_attr "prefix_extra" "1")
|
||||
(set_attr "length_immediate" "*,*,1")
|
||||
(set_attr "length_immediate" "1")
|
||||
(set_attr "prefix" "orig,orig,vex")
|
||||
(set_attr "btver2_decode" "vector")
|
||||
(set_attr "mode" "TI")])
|
||||
@ -3114,7 +3114,7 @@
|
||||
[(set_attr "isa" "noavx,noavx,avx")
|
||||
(set_attr "type" "ssemov")
|
||||
(set_attr "prefix_extra" "1")
|
||||
(set_attr "length_immediate" "*,*,1")
|
||||
(set_attr "length_immediate" "1")
|
||||
(set_attr "prefix" "orig,orig,vex")
|
||||
(set_attr "btver2_decode" "vector")
|
||||
(set_attr "mode" "TI")])
|
||||
|
Loading…
Reference in New Issue
Block a user