[01/10] aarch64: configure: set arch dependent features

Message ID 1389459809-1768-2-git-send-email-janne-libav@jannau.net
State Committed
Commit 032d4da8af353e32ab5c86ee3a210f6065921a4a
Headers show

Commit Message

Janne Grunau Jan. 11, 2014, 5:03 p.m.
Stack is always 16 byte aligned and clz, 64bit operations and unaligned
memory access are fast in aarch64 mode on ARMv8.
---
 configure | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Luca Barbato Jan. 11, 2014, 6:13 p.m. | #1
On 11/01/14 18:03, Janne Grunau wrote:
> Stack is always 16 byte aligned and clz, 64bit operations and unaligned
> memory access are fast in aarch64 mode on ARMv8.
> ---
>  configure | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 

Ok.
Martin Storsjö Jan. 11, 2014, 6:25 p.m. | #2
On Sat, 11 Jan 2014, Janne Grunau wrote:

> Stack is always 16 byte aligned and clz, 64bit operations and unaligned
> memory access are fast in aarch64 mode on ARMv8.
> ---
> configure | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/configure b/configure
> index 67f4a69..fba8815 100755
> --- a/configure
> +++ b/configure
> @@ -1583,10 +1583,10 @@ for ext in $(filter_out mmx $ARCH_EXT_LIST_X86); do
>     eval ${ext}_suggest='"${ext}_external ${ext}_inline"'
> done
>
> -aligned_stack_if_any="ppc x86"
> -fast_64bit_if_any="alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
> -fast_clz_if_any="alpha avr32 mips ppc x86"
> -fast_unaligned_if_any="ppc x86"
> +aligned_stack_if_any="aarch64 ppc x86"
> +fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
> +fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
> +fast_unaligned_if_any="aarch64 ppc x86"
>
> need_memalign="altivec neon sse"
>
> -- 
> 1.8.5.2

Looks ok

// Martin

Patch

diff --git a/configure b/configure
index 67f4a69..fba8815 100755
--- a/configure
+++ b/configure
@@ -1583,10 +1583,10 @@  for ext in $(filter_out mmx $ARCH_EXT_LIST_X86); do
     eval ${ext}_suggest='"${ext}_external ${ext}_inline"'
 done
 
-aligned_stack_if_any="ppc x86"
-fast_64bit_if_any="alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
-fast_clz_if_any="alpha avr32 mips ppc x86"
-fast_unaligned_if_any="ppc x86"
+aligned_stack_if_any="aarch64 ppc x86"
+fast_64bit_if_any="aarch64 alpha ia64 mips64 parisc64 ppc64 sparc64 x86_64"
+fast_clz_if_any="aarch64 alpha avr32 mips ppc x86"
+fast_unaligned_if_any="aarch64 ppc x86"
 
 need_memalign="altivec neon sse"