aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-03-07 14:59:02 +0100
committerTom de Vries <tdevries@suse.de>2022-03-10 12:19:47 +0100
commit248bbcb2c3212bcb9f2a485b591dd37371133402 (patch)
tree71896f069b060d7ab00aae3183239173b82a492f /gcc/tree-ssa-alias.h
parent975e7ade35095839b4dd2cc0f2b303bd63950db9 (diff)
downloadgcc-248bbcb2c3212bcb9f2a485b591dd37371133402.zip
gcc-248bbcb2c3212bcb9f2a485b591dd37371133402.tar.gz
gcc-248bbcb2c3212bcb9f2a485b591dd37371133402.tar.bz2
[nvptx] Use atom.and.b64 instead of atom.b64.and
The ptx manual prescribes the instruction format atom{.space}.op.type but the compiler currently emits: ... atom.b64.and %r31, [%r30], %r32; ... which uses the instruction format atom{.space}.type.op. Fix this by emitting instead: ... atom.and.b64 %r31, [%r30], %r32; ... Tested on nvptx. gcc/ChangeLog: 2022-03-07 Tom de Vries <tdevries@suse.de> * config/nvptx/nvptx.md (define_insn "atomic_fetch_<logic><mode>"): Emit atom.and.b64 instead of atom.b64.and. gcc/testsuite/ChangeLog: 2022-03-07 Tom de Vries <tdevries@suse.de> * gcc.target/nvptx/atomic_fetch-1.c: Update. * gcc.target/nvptx/atomic_fetch-2.c: Update.
Diffstat (limited to 'gcc/tree-ssa-alias.h')
0 files changed, 0 insertions, 0 deletions