GCC compiles leading zero count poorly unless Haswell specified

前端 未结 1 1780
自闭症患者
自闭症患者 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)
提交回复
热议问题