Re: [PATCH] RISC-V: override alignment of function/jump/loop

2024-10-25 Thread Andreas Schwab
../../gcc/config/riscv/riscv.cc:460:1: error: could not convert '{{(4 * 4), (5 \ * 4)}, {(4 * 4), (5 * 4)}, {(20 * 4), (20 * 4)}, {(4 * 4), (4 * 4)}, {(33 * 4),\ (65 * 4)}, 1, 3, 5, 8, true, false, false, false, RISCV_FUSE_NOTHING, nullptr}\ ' from '' to 'const riscv_tune_param' -- Andreas Schwa

Re: [PATCH] RISC-V: override alignment of function/jump/loop

2024-10-23 Thread Jeff Law
On 10/22/24 4:54 AM, Wang Pengcheng wrote: Just like what AArch64 has done. Signed-off-by: Wang Pengcheng gcc/ChangeLog: * config/riscv/riscv.cc (struct riscv_tune_param): Add new tune options. (riscv_override_options_internal): Override the default alignment when n

[PATCH] RISC-V: override alignment of function/jump/loop

2024-10-22 Thread Wang Pengcheng
Just like what AArch64 has done. Signed-off-by: Wang Pengcheng gcc/ChangeLog: * config/riscv/riscv.cc (struct riscv_tune_param): Add new tune options. (riscv_override_options_internal): Override the default alignment when not optimizing for size. --- gcc/config/riscv/riscv.

[PATCH] RISC-V: override alignment of function/jump/loop

2024-10-17 Thread Wang Pengcheng
Just like what AArch64 has done. Signed-off-by: Wang Pengcheng gcc/ChangeLog: * config/riscv/riscv.cc (struct riscv_tune_param): Add new tune options. (riscv_override_options_internal): Override the default alignment when not optimizing for size. --- gcc/config/riscv/riscv.cc | 15 ++