aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2024-05-19 09:49:45 +0100
committerRoger Sayle <roger@nextmovesoftware.com>2024-05-19 09:49:45 +0100
commit1676ef6e91b902f592270e4bcf10b4fc342e200d (patch)
tree4e840741e88febdbd612b88e40d4483fbd6897f8 /gcc/ada
parenta6114c2a691112f9cf5b072c21685d2e43c76d81 (diff)
downloadgcc-1676ef6e91b902f592270e4bcf10b4fc342e200d.zip
gcc-1676ef6e91b902f592270e4bcf10b4fc342e200d.tar.gz
gcc-1676ef6e91b902f592270e4bcf10b4fc342e200d.tar.bz2
nvptx: Correct pattern for popcountdi2 insn in nvptx.md.
The result of a POPCOUNT operation in RTL should have the same mode as its operand. This corrects the specification of popcount in the nvptx backend, splitting the current generic define_insn into two, one for popcountsi2 and the other for popcountdi2 (the latter with an explicit truncate). 2024-05-19 Roger Sayle <roger@nextmovesoftware.com> gcc/ChangeLog * config/nvptx/nvptx.md (popcount<mode>2): Split into... (popcountsi2): define_insn handling SImode popcount. (popcountdi2): define_insn handling DImode popcount, with an explicit truncate:SI to produce an SImode result.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions