pz9115 / riscv-gcc

GNU General Public License v2.0
5 stars 4 forks source link

fix testcase popcount4ll.c fail in rv32 #11

Closed WuSiYu closed 3 years ago

WuSiYu commented 3 years ago

testcase popcount4ll.c (include one type of 64bit popcount function) fail because it not optimized with cpop instruction in zbb of b-ext, fix this fail and improve popcount's optimization by backporting few commits from gcc master.