aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-03-27 13:51:38 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-03-31 08:17:11 +0200
commit3154ce9af0163d8d585455230e4c3eee44fbbd01 (patch)
tree6e83aaa794f7c72bb4a142a4bf05358f300e1bc3 /gcc
parenta46430c85611ac7faec9507472b8736b89643659 (diff)
downloadgcc-3154ce9af0163d8d585455230e4c3eee44fbbd01.zip
gcc-3154ce9af0163d8d585455230e4c3eee44fbbd01.tar.gz
gcc-3154ce9af0163d8d585455230e4c3eee44fbbd01.tar.bz2
target/119010 - Zen4/Zen5 reservations for movlhps loads
The following fixes up the ssemov2 type introduction, amending the znver4_sse_mov_fp_load reservation. This fixes ;; 14--> b 0: i1436 xmm6=vec_concat(xmm6,[ax+0x8]) :nothing PR target/119010 * config/i386/zn4zn5.md (znver4_sse_mov_fp_load, znver5_sse_mov_fp_load): Also match ssemov2.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/zn4zn5.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/zn4zn5.md b/gcc/config/i386/zn4zn5.md
index 1ac1d07..ecb1e3b 100644
--- a/gcc/config/i386/zn4zn5.md
+++ b/gcc/config/i386/zn4zn5.md
@@ -1036,14 +1036,14 @@
(define_insn_reservation "znver4_sse_mov_fp_load" 6
(and (eq_attr "cpu" "znver4")
- (and (eq_attr "type" "ssemov")
+ (and (eq_attr "type" "ssemov,ssemov2")
(and (eq_attr "mode" "V16SF,V8DF,V8SF,V4DF,V4SF,V2DF,V2SF,V1DF,DF,SF")
(eq_attr "memory" "load"))))
"znver4-direct,znver4-load,znver4-fpu")
(define_insn_reservation "znver5_sse_mov_fp_load" 6
(and (eq_attr "cpu" "znver5")
- (and (eq_attr "type" "ssemov")
+ (and (eq_attr "type" "ssemov,ssemov2")
(and (eq_attr "mode" "V16SF,V8DF,V8SF,V4DF,V4SF,V2DF,V2SF,V1DF,DF,SF")
(eq_attr "memory" "load"))))
"znver4-direct,znver5-load,znver4-fpu")