From: Maciej W. Rozycki Date: Thu, 18 Aug 2022 15:50:26 +0000 (+0100) Subject: RISC-V: Standardize formatting of SFB ALU conditional move X-Git-Tag: basepoints/gcc-14~5090 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f5ec900e53f6c7f7c06c641b4fb303ebdc83785;p=thirdparty%2Fgcc.git RISC-V: Standardize formatting of SFB ALU conditional move Standardize the formatting of SFB ALU conditional move operations from: beq a2,zero,1f; mv a0,zero; 1: # movcc to: beq a2,zero,1f # movcc mv a0,zero 1: for consistency with other assembly code produced. No functional change. gcc/ * config/riscv/riscv.md (*movcc): Fix output pattern formatting. --- diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index c517ae0d0f72..f4a5ff07fe4d 100644 --- a/gcc/config/riscv/riscv.md +++ b/gcc/config/riscv/riscv.md @@ -2254,8 +2254,8 @@ (match_operand:GPR 4 "sfb_alu_operand" "rJ,IL")))] "TARGET_SFB_ALU" "@ - b%C5 %1,%z2,1f; mv %0,%z4; 1: # movcc - b%C5 %1,%z2,1f; li %0,%4; 1: # movcc" + b%C5\t%1,%z2,1f\t# movcc\;mv\t%0,%z4\n1: + b%C5\t%1,%z2,1f\t# movcc\;li\t%0,%4\n1:" [(set_attr "length" "8") (set_attr "type" "sfb_alu") (set_attr "mode" "")])