Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
f745815e
Commit
f745815e
authored
Oct 16, 2017
by
Martin Storsjö
Committed by
Anton Mitrofanov
Dec 24, 2017
Browse files
configure: Add support for building with MSVC/armasm for ARM64
parent
7b13b31b
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure
View file @
f745815e
...
...
@@ -807,9 +807,13 @@ case $host_cpu in
aarch64
)
ARCH
=
"AARCH64"
stack_alignment
=
16
AS
=
"
${
AS
-
${
CC
}}
"
if
[
"
$SYS
"
=
MACOSX
]
;
then
AS
=
"
${
AS
-
${
CC
}}
"
ASFLAGS
=
"
$ASFLAGS
-DPREFIX -DPIC"
elif
[
"
$SYS
"
=
WINDOWS
]
;
then
AS
=
"
${
AS
-
${
SRCPATH
}
/tools/gas-preprocessor.pl -arch aarch64 -as-type armasm -- armasm64 -nologo
}
"
else
AS
=
"
${
AS
-
${
CC
}}
"
fi
;;
s390|s390x
)
...
...
@@ -944,7 +948,10 @@ if [ $asm = auto -a $ARCH = ARM ] ; then
fi
if
[
$asm
=
auto
-a
$ARCH
=
AARCH64
]
;
then
if
cc_check
''
''
'__asm__("cmeq v0.8h, v0.8h, #0");'
;
then
define HAVE_NEON
if
[
$compiler
=
CL
]
&&
cpp_check
''
''
'defined(_M_ARM64)'
;
then
define HAVE_NEON
elif
cc_check
''
''
'__asm__("cmeq v0.8h, v0.8h, #0");'
;
then
define HAVE_NEON
ASFLAGS
=
"
$ASFLAGS
-c"
else
echo
"no NEON support, try adding -mfpu=neon to CFLAGS"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment