]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PATCH] RISC-V: override alignment of function/jump/loop
authorWang Pengcheng <wangpengcheng.pp@bytedance.com>
Thu, 24 Oct 2024 05:11:53 +0000 (23:11 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Thu, 24 Oct 2024 05:11:53 +0000 (23:11 -0600)
commit078f7c4f1fcf4d7099d855afb02dbaf71bebddbf
treecc9a928c8e4f2b697041cef5d61da99001cca8f1
parenta616b7e1db7319c587b9c65fe9548c59c67d1234
[PATCH] RISC-V: override alignment of function/jump/loop

Just like what AArch64 has done.

Signed-off-by: Wang Pengcheng <wangpengcheng.pp@bytedance.com>
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