Patchwork [TileGX] Committed fix for a typo bug

login
register
mail settings
Submitter Walter Lee
Date June 15, 2012, 5:21 p.m.
Message ID <4FDB6F0D.4010109@tilera.com>
Download mbox | patch
Permalink /patch/165203/
State New
Headers show

Comments

Walter Lee - June 15, 2012, 5:21 p.m.
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.

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

Patch

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;
  })