aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2023-11-10 11:13:55 +0000
committerAndrew Stubbs <ams@codesourcery.com>2023-11-10 11:24:10 +0000
commite24b0fed9234716c146aaf6f8c1b39170e43a6f3 (patch)
tree9687e4db8230be4fbc6049887bbcf8cca9b5fbde /gcc/expr.cc
parent20aa06490ab57da7729a24bae7c4ec2f5918ec91 (diff)
downloadgcc-e24b0fed9234716c146aaf6f8c1b39170e43a6f3.zip
gcc-e24b0fed9234716c146aaf6f8c1b39170e43a6f3.tar.gz
gcc-e24b0fed9234716c146aaf6f8c1b39170e43a6f3.tar.bz2
amdgcn: Fix v_add constraints (pr112308)
The instruction doesn't allow "B" constants for the vop3b encoding (used when the cc register isn't VCC), so fix the pattern and all the insns that might get split to it post-reload. Also switch to the new constraint format for ease of adding new alternatives. gcc/ChangeLog: PR target/112308 * config/gcn/gcn-valu.md (add<mode>3<exec_clobber>): Fix B constraint and switch to the new format. (add<mode>3_dup<exec_clobber>): Likewise. (add<mode>3_vcc<exec_vcc>): Likewise. (add<mode>3_vcc_dup<exec_vcc>): Likewise. (add<mode>3_vcc_zext_dup): Likewise. (add<mode>3_vcc_zext_dup_exec): Likewise. (add<mode>3_vcc_zext_dup2): Likewise. (add<mode>3_vcc_zext_dup2_exec): Likewise.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions