ewlu / riscv-gnu-toolchain

GNU toolchain for RISC-V, including GCC
Other
0 stars 0 forks source link

check_GNU_style.py 24773-RISCV_Remove_autovecvlsmd_file_and_clean_up_VLS_move_modesNFC-1 #139

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

The following issues have been found with 24773-RISCV_Remove_autovecvlsmd_file_and_clean_up_VLS_move_modesNFC-1. Please use your best judgement when resolving these issues. These are only warnings and do not need to be resolved in order to merge your patch. If any of these warnings seem like false-positives that could be guarded against please contact me: patrick@rivosinc.com.

=== ERROR type #1: blocks of 8 spaces should be replaced with tabs (11 error(s)) ===
gcc/config/riscv/vector.md:1235:0:████████/* Opitmize the following case:
gcc/config/riscv/vector.md:1243:0:████████machine_mode mode;
gcc/config/riscv/vector.md:1244:0:████████unsigned size = GET_MODE_BITSIZE (<MODE>mode).to_constant ();
gcc/config/riscv/vector.md:1245:0:████████if (FLOAT_MODE_P (<MODE>mode))
gcc/config/riscv/vector.md:1247:0:████████else
gcc/config/riscv/vector.md:1249:0:████████emit_move_insn (gen_lowpart (mode, operands[0]),
gcc/config/riscv/vector.md:1250:2:      ████████gen_lowpart (mode, operands[1]));
gcc/config/riscv/vector.md:1320:0:████████= GET_MODE_CLASS (<VLS_AVL_REG:MODE>mode) == MODE_VECTOR_BOOL
gcc/config/riscv/vector.md:1388:0:████████(vec_duplicate:VLS
gcc/config/riscv/vector.md:1389:0:████████  (match_operand:<VEL> 1 "reg_or_int_operand")))]
gcc/config/riscv/vector.md:1396:0:████████████████████████████████   riscv_vector::UNARY_OP, operands);

=== ERROR type #2: lines should not exceed 80 characters (5 error(s)) ===
gcc/config/riscv/vector.md:1317:80:      emit_move_insn (operands[2], gen_int_mode (GET_MODE_NUNITS (<VLS_AVL_REG:MODE>mode),
gcc/config/riscv/vector.md:1321:80:                                                     ? riscv_vector::UNARY_MASK_OP
gcc/config/riscv/vector.md:1323:80:      riscv_vector::emit_nonvlmax_insn (code_for_pred_mov (<VLS_AVL_REG:MODE>mode),
gcc/config/riscv/vector.md:1356:80:    machine_mode mode = riscv_vector::get_vector_mode (QImode, nunits).require ();
gcc/config/riscv/vector.md:1361:80:    riscv_vector::emit_vlmax_insn (code_for_pred_mov (mode), riscv_vector::UNARY_OP, operands);

Associated run is: https://github.com/ewlu/riscv-gnu-toolchain/actions/runs/6219422669