[committed] RISC-V: Use a tab rather than space with FSFLAGS
Commit Message
Consistently use a tab rather than a space as the separator between the
assembly instruction mnemonic and its operand with FSFLAGS instructions
produced with the unordered FP comparison RTL insns.
gcc/
* config/riscv/riscv.md
(*f<quiet_pattern>_quiet<ANYF:mode><X:mode>4_default)
(*f<quiet_pattern>_quiet<ANYF:mode><X:mode>4_snan): Emit a tab
rather than space with FSFLAGS.
---
Hi,
Committed as obvious.
Maciej
---
gcc/config/riscv/riscv.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
gcc-riscv-fcmp-tab.diff
Comments
Thanks :)
On Thu, Jun 9, 2022 at 9:35 PM Maciej W. Rozycki <macro@embecosm.com> wrote:
>
> Consistently use a tab rather than a space as the separator between the
> assembly instruction mnemonic and its operand with FSFLAGS instructions
> produced with the unordered FP comparison RTL insns.
>
> gcc/
> * config/riscv/riscv.md
> (*f<quiet_pattern>_quiet<ANYF:mode><X:mode>4_default)
> (*f<quiet_pattern>_quiet<ANYF:mode><X:mode>4_snan): Emit a tab
> rather than space with FSFLAGS.
> ---
> Hi,
>
> Committed as obvious.
>
> Maciej
> ---
> gcc/config/riscv/riscv.md | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> gcc-riscv-fcmp-tab.diff
> Index: gcc/gcc/config/riscv/riscv.md
> ===================================================================
> --- gcc.orig/gcc/config/riscv/riscv.md
> +++ gcc/gcc/config/riscv/riscv.md
> @@ -2344,7 +2344,7 @@
> QUIET_COMPARISON))
> (clobber (match_scratch:X 3 "=&r"))]
> "TARGET_HARD_FLOAT && ! HONOR_SNANS (<ANYF:MODE>mode)"
> - "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags %3"
> + "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags\t%3"
> [(set_attr "type" "fcmp")
> (set_attr "mode" "<UNITMODE>")
> (set (attr "length") (const_int 12))])
> @@ -2357,7 +2357,7 @@
> QUIET_COMPARISON))
> (clobber (match_scratch:X 3 "=&r"))]
> "TARGET_HARD_FLOAT && HONOR_SNANS (<ANYF:MODE>mode)"
> - "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags %3\n\tfeq.<fmt>\tzero,%1,%2"
> + "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags\t%3\n\tfeq.<fmt>\tzero,%1,%2"
> [(set_attr "type" "fcmp")
> (set_attr "mode" "<UNITMODE>")
> (set (attr "length") (const_int 16))])
===================================================================
@@ -2344,7 +2344,7 @@
QUIET_COMPARISON))
(clobber (match_scratch:X 3 "=&r"))]
"TARGET_HARD_FLOAT && ! HONOR_SNANS (<ANYF:MODE>mode)"
- "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags %3"
+ "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags\t%3"
[(set_attr "type" "fcmp")
(set_attr "mode" "<UNITMODE>")
(set (attr "length") (const_int 12))])
@@ -2357,7 +2357,7 @@
QUIET_COMPARISON))
(clobber (match_scratch:X 3 "=&r"))]
"TARGET_HARD_FLOAT && HONOR_SNANS (<ANYF:MODE>mode)"
- "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags %3\n\tfeq.<fmt>\tzero,%1,%2"
+ "frflags\t%3\n\tf<quiet_pattern>.<fmt>\t%0,%1,%2\n\tfsflags\t%3\n\tfeq.<fmt>\tzero,%1,%2"
[(set_attr "type" "fcmp")
(set_attr "mode" "<UNITMODE>")
(set (attr "length") (const_int 16))])