GCC compiles leading zero count poorly unless Haswell specified

前端 未结 1 1775
自闭症患者
自闭症患者 2020-12-11 02:39

GCC supports the __builtin_clz(int x) builtin, which counts the number of number of leading zeros (consecutive most-significant zeros) in the argument.

Amon

相关标签:
1条回答
  • 2020-12-11 02:52

    This looks like a known issue with gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50168

    0 讨论(0)
提交回复
热议问题