Hi Roger,

Apologizes for late reply, I was in a short vacation. Please proceed with your 
commit. BTW, I consider this type of contribution as obvious, and you can 
always push it without waiting for my feedback.

Thank you for your contribution,
Claudiu

-----Original Message-----
From: Roger Sayle <ro...@nextmovesoftware.com> 
Sent: Monday, November 6, 2023 8:37 PM
To: gcc-patches@gcc.gnu.org
Cc: 'Claudiu Zissulescu' <claz...@gmail.com>
Subject: [ARC PATCH] Consistent use of whitespace in assembler templates.


This minor clean-up patch tweaks arc.md to use whitespace consistently in 
output templates, always using a TAB between the mnemonic and its operands, and 
avoiding spaces after commas between operands.  There should be no functional 
changes with this patch, though several test cases' scan-assembler needed to be 
updated to use \s+ instead of testing for a TAB or a space explicitly.

Tested with a cross-compiler to arc-linux hosted on x86_64, with no new 
(compile-only) regressions from make -k check.
Ok for mainline if this passes Claudiu's nightly testing?


2023-11-06  Roger Sayle  <ro...@nextmovesoftware.com>

gcc/ChangeLog
        * config/arc/arc.md: Make output template whitespace consistent.

gcc/testsuite/ChangeLog
        * gcc.target/arc/jli-1.c: Update dg-final whitespace.
        * gcc.target/arc/jli-2.c: Likewise.
        * gcc.target/arc/naked-1.c: Likewise.
        * gcc.target/arc/naked-2.c: Likewise.
        * gcc.target/arc/tmac-1.c: Likewise.
        * gcc.target/arc/tmac-2.c: Likewise.


Thanks again,
Roger
--

Reply via email to