https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96494
Bug ID: 96494
Summary: [nvptx] Enable effective target sync_int_long
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
The effective target sync_int_long currently doesn't include nvptx.
Consequently, when running gcc.dg/ia64-sync-*.c, we get "UNSUPPORTED".
If we add nvptx to sync_int_long, those tests pass.
AFAICT, from the point of view of the PTX isa, there's no reason why we
couldn't support this.
So, unless a testsuite run points to some problem, we should enable the
sync_int_long for nvptx.