]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
nvptx: fix malformed patch
authorAndrew Stubbs <ams@codesourcery.com>
Sat, 19 Sep 2020 18:16:28 +0000 (19:16 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Sat, 19 Sep 2020 18:16:28 +0000 (19:16 +0100)
An edit got botched. Fixed now.

libgomp/

* config/nvptx/bar.c (gomp_team_barrier_wake): Remove rogue asm.

libgomp/config/nvptx/bar.c

index 0a723087b9ef925d50f275a137e5e9d556f8ae24..1116561d93154a6584bac82ccd223f427611c649 100644 (file)
@@ -70,7 +70,6 @@ gomp_barrier_wait_last (gomp_barrier_t *bar)
 void
 gomp_team_barrier_wake (gomp_barrier_t *bar, int count)
 {
-  asm ("bar.sync 1, %0;" : : "r" (32 * 8/*bar->total*/));
   if (bar->total > 1)
     asm ("bar.sync 1, %0;" : : "r" (32 * bar->total));
 }