Ping~ Originally posted here: http://gcc.gnu.org/ml/gcc-patches/2014-01/msg00185.html
Thanks, Yufeng On 01/06/14 12:30, Yufeng Zhang wrote:
This patch fixes the implementation of vcvtmd_s64_f64 and vcvtpd_s64_f64 in arm_neon.h to use llfloor and llceil instead, which are ILP32-friendly. This patch will fix the following test failure in the ILP32 mode: FAIL: gcc.target/aarch64/vect-vcvt.c scan-assembler fcvtms\\tx[0-9]+, d[0-9]+ OK for the trunk? Thanks, Yufeng gcc/ * config/aarch64/aarch64-builtins.c (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF, BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL. * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor instead of __builtin_lfloor. (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil.