public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, TileGX] Committed fix for a typo bug
@ 2012-06-14 23:06 Maxim Kuvyrkov
  2012-06-15 18:00 ` Walter Lee
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Kuvyrkov @ 2012-06-14 23:06 UTC (permalink / raw)
  To: Walter Lee; +Cc: gcc-patches Patches

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Walter,

While working on atomics for a different target, I've noticed below typo bug in TileGX.

Patch checked in as obvious.

Thank you,

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics



[-- Attachment #2: fsf-gcc-tile-sync.patch --]
[-- Type: application/octet-stream, Size: 847 bytes --]

Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog	(revision 188638)
+++ gcc/ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2012-06-14  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+	* config/tilegx/sync.md (atomic_fetch_sub<mode>): Fix typo.
+
 2012-06-14  Oleg Endo  <olegendo@gcc.gnu.org>
 
 	PR target/53568
Index: gcc/config/tilegx/sync.md
===================================================================
--- gcc/config/tilegx/sync.md	(revision 188638)
+++ gcc/config/tilegx/sync.md	(working copy)
@@ -160,6 +160,6 @@
   emit_insn (gen_atomic_fetch_add_bare<mode> (operands[0],
                                               operands[1],
                                               operands[2]));
-  tilegx_pre_atomic_barrier (model);
+  tilegx_post_atomic_barrier (model);
   DONE;
 })

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

* Re: [PATCH, TileGX] Committed fix for a typo bug
  2012-06-14 23:06 [PATCH, TileGX] Committed fix for a typo bug Maxim Kuvyrkov
@ 2012-06-15 18:00 ` Walter Lee
  0 siblings, 0 replies; 2+ messages in thread
From: Walter Lee @ 2012-06-15 18:00 UTC (permalink / raw)
  To: Maxim Kuvyrkov; +Cc: gcc-patches Patches

Thanks.  I found another one and I fixed it.

2012-06-15  Walter Lee <walt@tilera.com>

     * config/tilegx/sync.md (atomic_fetch_<fetchop_name><mode>): Fix typo.

Index: config/tilegx/sync.md
===================================================================
--- config/tilegx/sync.md       (revision 188672)
+++ config/tilegx/sync.md       (working copy)
@@ -121,7 +121,7 @@
    emit_insn (gen_atomic_fetch_<fetchop_name>_bare<mode> (operands[0],
                                                           operands[1],
                                                           operands[2]));
-  tilegx_pre_atomic_barrier (model);
+  tilegx_post_atomic_barrier (model);
    DONE;
  })

On 6/14/2012 6:46 PM, Maxim Kuvyrkov wrote:
> Walter,
>
> While working on atomics for a different target, I've noticed below typo bug in TileGX.
>
> Patch checked in as obvious.
>
> Thank you,
>
> --
> Maxim Kuvyrkov
> CodeSourcery / Mentor Graphics
>
>

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

end of thread, other threads:[~2012-06-15 17:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 23:06 [PATCH, TileGX] Committed fix for a typo bug Maxim Kuvyrkov
2012-06-15 18:00 ` Walter Lee

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