DLTcollab / sse2neon

A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: ‘vrndiq_f32’ was not declared in this scope

wangmlshadow opened this issue · comments

I use this header file in my code, and meet this error
se2neon.h:1512:12: error: ‘vrndiq_f32’ was not declared in this scope
return vreinterpret_m64_s32(

Hi @wangmlshadow ,
For my experience, this may be caused that the compiler cannot find the arm_neon.h or your platform does not support this intrinsic (vrndiq_f32 is only available on AArch64).

Can you share your compile environment here so that we can have a thorough investigation?

Hi @wangmlshadow , For my experience, this may be caused that the compiler cannot find the arm_neon.h or your platform does not support this intrinsic (vrndiq_f32 is only available on AArch64).

Can you share your compile environment here so that we can have a thorough investigation?

Hi @Cuda-Chen ,My compile environment is:
LSB Version: :core-4.1-aarch64:core-4.1-noarch:cxx-4.1-aarch64:cxx-4.1-noarch:desktop-4.1-aarch64:desktop-4.1-noarch:languages-4.1-aarch64:languages-4.1-noarch:printing-4.1-aarch64:printing-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.6.1810 (AltArch)
Release: 7.6.1810
Codename: AltArch
And I use g++ (GCC) 4.8.5 for my code

My compile environment is: LSB Version: :core-4.1-aarch64:core-4.1-noarch:cxx-4.1-aarch64:cxx-4.1-noarch:desktop-4.1-aarch64:desktop-4.1-noarch:languages-4.1-aarch64:languages-4.1-noarch:printing-4.1-aarch64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.6.1810 (AltArch) Release: 7.6.1810 Codename: AltArch And I use g++ (GCC) 4.8.5 for my code

Your GCC version is too old. GCC 4.8.0 was release in 2013, and it might not support AArch64 well. Please download the Linaro Toolchain instead.