RISC-V: Remove trailing spaces on lines.
Checks
Commit Message
gcc/ChangeLog:
* common/config/riscv/riscv-common.cc: Remove
trailing spaces on lines.
* config/riscv/riscv.cc (riscv_legitimize_move): Likewise.
* config/riscv/riscv.h (enum reg_class): Likewise.
* config/riscv/riscv.md: Likewise.
---
gcc/common/config/riscv/riscv-common.cc | 2 +-
gcc/config/riscv/riscv.cc | 6 +++---
gcc/config/riscv/riscv.h | 2 +-
gcc/config/riscv/riscv.md | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
Comments
On 5/17/23 03:08, Jin Ma wrote:
> gcc/ChangeLog:
>
> * common/config/riscv/riscv-common.cc: Remove
> trailing spaces on lines.
> * config/riscv/riscv.cc (riscv_legitimize_move): Likewise.
> * config/riscv/riscv.h (enum reg_class): Likewise.
> * config/riscv/riscv.md: Likewise.
> ---
> gcc/common/config/riscv/riscv-common.cc | 2 +-
> gcc/config/riscv/riscv.cc | 6 +++---
> gcc/config/riscv/riscv.h | 2 +-
> gcc/config/riscv/riscv.md | 4 ++--
> 4 files changed, 7 insertions(+), 7 deletions(-)
Thanks. Installed.
jeff
@@ -104,7 +104,7 @@ static const riscv_implied_info_t riscv_implied_info[] =
{"zfh", "zfhmin"},
{"zfhmin", "f"},
-
+
{"zhinx", "zhinxmin"},
{"zhinxmin", "zfinx"},
@@ -2166,8 +2166,8 @@ riscv_legitimize_move (machine_mode mode, rtx dest, rtx src)
}
return true;
}
- /* Expand
- (set (reg:QI target) (mem:QI (address)))
+ /* Expand
+ (set (reg:QI target) (mem:QI (address)))
to
(set (reg:DI temp) (zero_extend:DI (mem:QI (address))))
(set (reg:QI target) (subreg:QI (reg:DI temp) 0))
@@ -2182,7 +2182,7 @@ riscv_legitimize_move (machine_mode mode, rtx dest, rtx src)
temp_reg = gen_reg_rtx (word_mode);
zero_extend_p = (LOAD_EXTEND_OP (mode) == ZERO_EXTEND);
- emit_insn (gen_extend_insn (temp_reg, src, word_mode, mode,
+ emit_insn (gen_extend_insn (temp_reg, src, word_mode, mode,
zero_extend_p));
riscv_emit_move (dest, gen_lowpart (mode, temp_reg));
return true;
@@ -575,7 +575,7 @@ enum reg_class
#define POLY_SMALL_OPERAND_P(POLY_VALUE) \
(POLY_VALUE.is_constant () ? \
SMALL_OPERAND (POLY_VALUE.to_constant ()) : false)
-
+
/* True if VALUE can be loaded into a register using LUI. */
#define LUI_OPERAND(VALUE) \
@@ -222,7 +222,7 @@ (define_attr "ext" "base,f,d,vector"
(define_attr "ext_enabled" "no,yes"
(cond [(eq_attr "ext" "base")
(const_string "yes")
-
+
(and (eq_attr "ext" "f")
(match_test "TARGET_HARD_FLOAT"))
(const_string "yes")
@@ -258,7 +258,7 @@ (define_attr "enabled" "no,yes"
;; logical integer logical instructions
;; shift integer shift instructions
;; slt set less than instructions
-;; imul integer multiply
+;; imul integer multiply
;; idiv integer divide
;; move integer register move (addi rd, rs1, 0)
;; fmove floating point register move