[Bug c/63663] [NEON] wrong value when computing the leading zero of int16x4_t type at O2
spf_zju at 126 dot com
gcc-bugzilla@gcc.gnu.org
Tue Oct 28 11:34:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63663
--- Comment #1 from wind <spf_zju at 126 dot com> ---
I find this issue is related to the definition of a MACRO.
/* The arm5 clz instruction returns 32. */
#define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) ((VALUE) = 32, 1).
I am confused that in the armv7 NEON, the mode is HI ,it is also equal 32. Is
it right ? anyone can give me some explanation .
I should post a patch to fix this bug soon.
More information about the Gcc-bugs
mailing list