https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96520

            Bug ID: 96520
           Summary: [nvptx] Fix set insn component order
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

I noticed that we emit:
...
set.u32.eq.u64 %r31,%r26,2147483648;
...

But the ptx isa specifies:
...
set.CmpOp{.ftz}.dtype.stype d, a, b;
...
so we should emit instead:
...
set.eq.u32.u64 %r31,%r26,2147483648;
...

Reply via email to