public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-10] nvptx: fix malformed patch
@ 2020-09-19 18:23 Andrew Stubbs
  0 siblings, 0 replies; only message in thread
From: Andrew Stubbs @ 2020-09-19 18:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:149a725c811ab345407ef122f453e55bb711344d

commit 149a725c811ab345407ef122f453e55bb711344d
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Sat Sep 19 19:16:28 2020 +0100

    nvptx: fix malformed patch
    
    An edit got botched. Fixed now.
    
    libgomp/
    
            * config/nvptx/bar.c (gomp_team_barrier_wake): Remove rogue asm.

Diff:
---
 libgomp/config/nvptx/bar.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libgomp/config/nvptx/bar.c b/libgomp/config/nvptx/bar.c
index 0a723087b9e..1116561d931 100644
--- a/libgomp/config/nvptx/bar.c
+++ b/libgomp/config/nvptx/bar.c
@@ -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));
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-19 18:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-19 18:23 [gcc/devel/omp/gcc-10] nvptx: fix malformed patch Andrew Stubbs

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).