Message ID | 034701d81f33$8a23ba20$9e6b2e60$@nextmovesoftware.com |
---|---|
State | New |
Headers | show |
Series | nvptx: Back-end portion of a fix for PR target/104489. | expand |
On 2/11/22 11:38, Roger Sayle wrote: > This one line fix/tweak is the back-end specific change for a fix for > > PR target/104489, that allows the ISA for GCC's nvptx backend to be bumped > > to sm_53. The machine-independent middle-end pieces were posted here: > > https://gcc.gnu.org/pipermail/gcc-patches/2022-February/590139.html > > This patch has been tested on nvptx-none hosted on x86_64-pc-linux-gnu, > > together with the above middle-end patch and changes identical to those > > described by Tom de Vries in the PR, with make and make -k check, where > > the build now completes, and there are no regressions in the testsuite. > > Ok for mainline? > > 2022-02-11 Roger Sayle <roger@nextmovesoftware.com> > > gcc/ChangeLog > > PR target/104489 > > * config/nvptx/nvptx.md (*movhf_insn): Add subregs_ok attribute. > LGTM. Thanks, - Tom
diff --git a/gcc/config/nvptx/nvptx.md b/gcc/config/nvptx/nvptx.md index 92768dd..3f1a4a6 100644 --- a/gcc/config/nvptx/nvptx.md +++ b/gcc/config/nvptx/nvptx.md @@ -285,7 +285,8 @@ "@ %.\\tmov.b16\\t%0, %1; %.\\tld.b16\\t%0, %1; - %.\\tst.b16\\t%0, %1;") + %.\\tst.b16\\t%0, %1;" + [(set_attr "subregs_ok" "true")]) (define_expand "movhf" [(set (match_operand:HF 0 "nonimmediate_operand" "")