diff options
author | Richard Biener <rguenther@suse.de> | 2025-03-27 11:29:21 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-03-31 08:17:11 +0200 |
commit | 18668d9c196a36dc7c0cd698a2a767b8f8c8e8a4 (patch) | |
tree | be146224c8e511f1c6c13c907d84e32cdb7b598f /gcc | |
parent | 4903e49b2fe321b1479dce4d3c4e2c2ae297298f (diff) | |
download | gcc-18668d9c196a36dc7c0cd698a2a767b8f8c8e8a4.zip gcc-18668d9c196a36dc7c0cd698a2a767b8f8c8e8a4.tar.gz gcc-18668d9c196a36dc7c0cd698a2a767b8f8c8e8a4.tar.bz2 |
target/119010 - missing reservations for Zen4/5 and SSE compares
There's the znver4_sse_test reservation which matches the memory-less
SSE compares but currently requires prefix_extra == 1. The old
znver automata in this case sometimes uses znver1-double instead of
znver1-direct, but it's quite a maze. The following simply drops
the prefix_extra requirement, but I have no idea what I'm doing here.
There doesn't seem to be any documentation on the scheduler relevant
attributes used, or at least I cannot find that.
PR target/119010
* config/i386/zn4zn5.md (znver4_sse_test): Drop test of
prefix_extra attribute.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/zn4zn5.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/i386/zn4zn5.md b/gcc/config/i386/zn4zn5.md index fb856e9..40e5145 100644 --- a/gcc/config/i386/zn4zn5.md +++ b/gcc/config/i386/zn4zn5.md @@ -953,9 +953,8 @@ (define_insn_reservation "znver4_sse_test" 1 (and (eq_attr "cpu" "znver4,znver5") - (and (eq_attr "prefix_extra" "1") - (and (eq_attr "type" "ssecomi") - (eq_attr "memory" "none")))) + (and (eq_attr "type" "ssecomi") + (eq_attr "memory" "none"))) "znver4-direct,znver4-fpu1|znver4-fpu2") (define_insn_reservation "znver4_sse_test_load" 6 |