aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDRC <information@libjpeg-turbo.org>2015-12-14 16:59:43 -0600
committerMatt Sarett <msarett@google.com>2015-12-16 14:28:01 +0000
commitd6d1b51c5f134ff25669fda54cf7777664242b3f (patch)
tree7dd96fc6d69a07b6b7ff0604b618c74da94bda29
parent64d08ccd3958755f82c34faedf3ed5de4179f481 (diff)
downloadlibjpeg-turbo-d6d1b51c5f134ff25669fda54cf7777664242b3f.tar.gz
Remove unnecessary .arch directive in ARM64 code
This directive was preventing the code from assembling using the integrated assembler in clang. Fixes Upstream-Issue-33 https://github.com/libjpeg-turbo/libjpeg-turbo/issues/33 https://github.com/libjpeg-turbo/libjpeg-turbo/commit/d70a5c12fcb72443483456a2cc8dd18a4c238618 Change-Id: I9e361d509be759cd45ed8d8061f939059ad5fe4a
-rw-r--r--acinclude.m42
-rw-r--r--simd/jsimd_arm64_neon.S1
2 files changed, 0 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 4a130825..8d667849 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -219,7 +219,6 @@ AC_DEFUN([AC_CHECK_COMPATIBLE_ARM64_ASSEMBLER_IFELSE],[
CC="$CCAS"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
.text
- .arch armv8-a+fp+simd
movi v0.16b, #100]])], ac_good_gnu_arm_assembler=yes)
ac_use_gas_preprocessor=no
@@ -227,7 +226,6 @@ AC_DEFUN([AC_CHECK_COMPATIBLE_ARM64_ASSEMBLER_IFELSE],[
CC="gas-preprocessor.pl $CCAS"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
.text
- .arch armv8-a+fp+simd
movi v0.16b, #100]])], ac_use_gas_preprocessor=yes)
fi
CFLAGS="$ac_save_CFLAGS"
diff --git a/simd/jsimd_arm64_neon.S b/simd/jsimd_arm64_neon.S
index 2186f248..4be22e8b 100644
--- a/simd/jsimd_arm64_neon.S
+++ b/simd/jsimd_arm64_neon.S
@@ -30,7 +30,6 @@
#endif
.text
-.arch armv8-a+fp+simd
#define RESPECT_STRICT_ALIGNMENT 1