This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH/AArch64 2/3] * config/tc-aarch64.h (MAX_MEM_FOR_RS_ALIGN_CODE): Increase to 63.

While working on various benchmarks, we've seen improvements from aligning
function entries and hot loops to a cache-line boundary. For this reason we
need to increase the permissible maximum code alignment to 64 bytes.

Philipp Tomsich.

    * config/tc-aarch64.h (MAX_MEM_FOR_RS_ALIGN_CODE): Increase to 63.

 gas/config/tc-aarch64.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gas/config/tc-aarch64.h b/gas/config/tc-aarch64.h
index 74a81d6..ee60525 100644
--- a/gas/config/tc-aarch64.h
+++ b/gas/config/tc-aarch64.h
@@ -116,8 +116,8 @@ void aarch64_copy_symbol_attributes (symbolS *, symbolS *);
 #define TC_CONS_FIX_NEW cons_fix_new_aarch64
-/* Max code alignment is 32 bytes */
+/* Max code alignment is 64 bytes */
 /* For frags in code sections we need to record whether they contain
    code or data.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]