checkasm: aarch64: Specify alignment for the register_init const array

Message ID 20170504184600.20233-1-martin@martin.st
State Committed
Commit d05c9cde0e87c23ca42957646bea483dfc09d6bf
Headers show

Commit Message

Martin Storsjö May 4, 2017, 6:46 p.m.
Loads from this strictly doesn't require alignment, but specify it
just for consistency with the arm version.
---
 tests/checkasm/aarch64/checkasm.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Luca Barbato May 4, 2017, 7:55 p.m. | #1
On 5/4/17 8:46 PM, Martin Storsjö wrote:
> Loads from this strictly doesn't require alignment, but specify it
> just for consistency with the arm version.
> ---
>  tests/checkasm/aarch64/checkasm.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/checkasm/aarch64/checkasm.S b/tests/checkasm/aarch64/checkasm.S
> index bc5ed9ea09..327dfc0802 100644
> --- a/tests/checkasm/aarch64/checkasm.S
> +++ b/tests/checkasm/aarch64/checkasm.S
> @@ -22,7 +22,7 @@
>  
>  #include "libavutil/aarch64/asm.S"
>  
> -const register_init
> +const register_init, align=4
>      .quad 0x21f86d66c8ca00ce
>      .quad 0x75b6ba21077c48ad
>      .quad 0xed56bb2dcb3c7736
> 

Sounds a good idea.

Patch

diff --git a/tests/checkasm/aarch64/checkasm.S b/tests/checkasm/aarch64/checkasm.S
index bc5ed9ea09..327dfc0802 100644
--- a/tests/checkasm/aarch64/checkasm.S
+++ b/tests/checkasm/aarch64/checkasm.S
@@ -22,7 +22,7 @@ 
 
 #include "libavutil/aarch64/asm.S"
 
-const register_init
+const register_init, align=4
     .quad 0x21f86d66c8ca00ce
     .quad 0x75b6ba21077c48ad
     .quad 0xed56bb2dcb3c7736