public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104456] New: nvptx: prevent_branch_around_nothing doesn't handle asm ("")
@ 2022-02-09  6:23 vries at gcc dot gnu.org
  2022-02-11  7:46 ` [Bug target/104456] " cvs-commit at gcc dot gnu.org
  2022-02-11  7:48 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-02-09  6:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104456
           Summary: nvptx: prevent_branch_around_nothing doesn't handle
                    asm ("")
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

Testing on a GT 1030, with driver 510.x, GOMP_NVPTX_JIT=-00 and -mptx=3.1, I
run into:
...
FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/acc_prof-version-1.c
-DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none  -O2 
execution test
...

The test-case runs into the warp divergence check, because we have:
...
@ %r23 bra $L2;
$L2:
...

The prevent_branch_around_nothing is supposed to handle this, but it doesn't
trigger for 'asm ("")'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-11  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09  6:23 [Bug target/104456] New: nvptx: prevent_branch_around_nothing doesn't handle asm ("") vries at gcc dot gnu.org
2022-02-11  7:46 ` [Bug target/104456] " cvs-commit at gcc dot gnu.org
2022-02-11  7:48 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).