diff options
author | Andrew Stubbs <ams@baylibre.com> | 2025-06-12 16:57:23 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@baylibre.com> | 2025-07-30 13:00:00 +0000 |
commit | f4763a23c78d861356150168dbbaf7e315e88b98 (patch) | |
tree | 982bd61b24f6dab0a0f1dd464a5e5f44e4a8e613 /gcc/coverage.c | |
parent | 37b44f7743e65f0e514810780f041bb07470c641 (diff) | |
download | gcc-f4763a23c78d861356150168dbbaf7e315e88b98.zip gcc-f4763a23c78d861356150168dbbaf7e315e88b98.tar.gz gcc-f4763a23c78d861356150168dbbaf7e315e88b98.tar.bz2 |
amdgcn: add more insn patterns using vec_duplicate
These new insns allow more efficient use of scalar inputs to 64-bit vector
add and mul. Also, the patch adjusts the existing mul.._dup because it was
actually a dup2 (the vec_duplicate is on the second input), and that was
inconveniently inconsistent.
The patterns are generally useful, but will be used directly by a follow-up
patch.
gcc/ChangeLog:
* config/gcn/gcn-valu.md (add<mode>3_dup): New.
(add<mode>3_dup_exec): New.
(<su>mul<mode>3_highpart_dup<exec>): New.
(mul<mode>3_dup): Move the vec_duplicate to operand 1.
(mul<mode>3_dup_exec): New.
(vec_series<mode>): Adjust call to gen_mul<mode>3_dup.
* config/gcn/gcn.cc (gcn_expand_vector_init): Likewise.
(cherry picked from commit bdc4062a0796788e44d5e6ecd753268a8b453cc7)
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions