]> git.ipfire.org Git - thirdparty/gcc.git/commit
LoongArch: Change the value of branch_cost from 2 to 6.
authorLulu Cheng <chenglulu@loongson.cn>
Wed, 13 Sep 2023 03:01:34 +0000 (11:01 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Thu, 14 Sep 2023 06:59:26 +0000 (14:59 +0800)
commit3acf7e9da39360dab6ebb9dfc92208e9dadd982a
tree08eb35cd6f89ea9d898987edcce4a072c0119f52
parent5079b620987f20d04a0bed837d649772735747f2
LoongArch: Change the value of branch_cost from 2 to 6.

gcc/ChangeLog:

* config/loongarch/loongarch-def.c: Modify the default value of
branch_cost.

gcc/testsuite/ChangeLog:

* gcc.target/loongarch/cmov_ii.c: New test.
gcc/config/loongarch/loongarch-def.c
gcc/testsuite/gcc.target/loongarch/cmov_ii.c [new file with mode: 0644]