Project

General

Profile

Actions

Bug #824

closed

clang doesn't support NEON for x86

Added by Dmitry M. almost 10 years ago. Updated over 8 years ago.

Status:
Completed
Priority:
Normal
Assignee:
Alexander Z.
Category:
-
Target version:
Start date:
12/28/2014
Due date:
% Done:

100%

Estimated time:
CPU Architecture:
x86
Host OS:
Toolchain:
clang-3.4, clang-3.5
Android version:
CrystaX NDK Version:

Description

[x86] Compile thumb  : helloneon <= helloneon-intrinsics.c
/Volumes/android/ndk/platform/ndk/toolchains/llvm-3.5/prebuilt/darwin-x86_64/bin/clang -MMD -MP -MF ./obj/local/x86/objs/helloneon/helloneon-intrinsics.o.d -gcc-toolchain /Volumes/android/ndk/platform/ndk/toolchains/x86-4.8/prebuilt/darwin-x86_64 -target i686-none-linux-android -ffunction-sections -funwind-tables -fstack-protector -fPIC -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -I/Volumes/android/ndk/platform/ndk/sources//android/cpufeatures -Ijni -DANDROID -DHAVE_NEON=1 -mssse3 -Wa,--noexecstack -Wformat -Werror=format-security -c -I/Volumes/android/ndk/platform/ndk/sources/crystax/include -I/Volumes/android/ndk/platform/ndk/platforms/android-9/arch-x86/usr/include jni/helloneon-intrinsics.c -o ./obj/local/x86/objs/helloneon/helloneon-intrinsics.o
In file included from jni/helloneon-intrinsics.c:18:
/Volumes/android/ndk/platform/ndk/toolchains/llvm-3.5/prebuilt/darwin-x86_64/bin/../lib/clang/3.5/include/arm_neon.h:28:2: error: "NEON support not enabled"
#error "NEON support not enabled"
 ^
Actions

Also available in: Atom PDF