diff mbox series

[RISCV,committed] Remove spurious newline in ztso sequence

Message ID 0fe0fbca-d8cc-2ac7-bae7-328bdab9bd47@gmail.com
State New
Headers show
Series [RISCV,committed] Remove spurious newline in ztso sequence | expand

Commit Message

Jeff Law Aug. 21, 2023, 5:25 p.m. UTC
amo-table-ztso-load-3 the coordination branch after merging up the Ztso 
changes due to a spurious newline in the output causing 
scan-function-body to fail.  There's probably an over-zealous .* or 
similar regexp in the framework.  I didn't see it in a quick scan, but 
could have easily missed it.

Regardless, fixing the extraneous newline is easy :-)

Committed to the trunk,
Jeff
commit 39491441a3aca7725d5a6dfeea4b01229d30c899
Author: Jeff Law <jlaw@ventanamicro.com>
Date:   Mon Aug 21 11:20:28 2023 -0600

    [RISCV][committed] Remove spurious newline in ztso sequence
    
    amo-table-ztso-load-3 the coordination branch after merging up the Ztso changes
    due to a spurious newline in the output causing scan-function-body to fail.
    There's probably an over-zealous .* or similar regexp in the framework.  I
    didn't see it in a quick scan, but could have easily missed it.
    
    Regardless, fixing the extraneous newline is easy :-)
    
    gcc/
            * config/riscv/sync-ztso.md (atomic_load_ztso<mode>): Avoid extraenous
            newline.
diff mbox series

Patch

diff --git a/gcc/config/riscv/sync-ztso.md b/gcc/config/riscv/sync-ztso.md
index 91c2a48c069..ed94471b96b 100644
--- a/gcc/config/riscv/sync-ztso.md
+++ b/gcc/config/riscv/sync-ztso.md
@@ -52,7 +52,7 @@  (define_insn "atomic_load_ztso<mode>"
 
     if (model == MEMMODEL_SEQ_CST)
       return "fence\trw,rw\;"
-	     "l<amo>\t%0,%1\;";
+	     "l<amo>\t%0,%1";
     else
       return "l<amo>\t%0,%1";
   }
@@ -77,4 +77,4 @@  (define_insn "atomic_store_ztso<mode>"
       return "s<amo>\t%z1,%0";
   }
   [(set_attr "type" "atomic")
-   (set (attr "length") (const_int 8))])
\ No newline at end of file
+   (set (attr "length") (const_int 8))])