From 37d4e67bb0839df433353b4b3859abe3db1c2684 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 22 Jun 2018 11:08:47 -0300 Subject: [PATCH] Set __bionic_asm_align to 16 for arm64 As for others targets, it is better to align function text by minimim cacheline size. This patch changes arm __bionic_asm_align to 16. Test: bionic tests on aarch64. Change-Id: Ib121663c65493d33d6803e2c5139d247a8cae858 --- libc/private/bionic_asm_arm64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/private/bionic_asm_arm64.h b/libc/private/bionic_asm_arm64.h index 43ecaf34c..463ca312a 100644 --- a/libc/private/bionic_asm_arm64.h +++ b/libc/private/bionic_asm_arm64.h @@ -37,7 +37,7 @@ #pragma once -#define __bionic_asm_align 0 +#define __bionic_asm_align 16 #undef __bionic_asm_function_type #define __bionic_asm_function_type %function