This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH/AArch64 2/3] * config/tc-aarch64.h (MAX_MEM_FOR_RS_ALIGN_CODE): Increase to 63.
- From: Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>
- To: binutils at sourceware dot org
- To: binutils at sourceware dot org
- Cc: Philipp Tomsich <philipp dot tomsich at theobroma-systems dot com>
- Date: Wed, 4 Dec 2013 19:29:26 +0100
- Subject: [PATCH/AArch64 2/3] * config/tc-aarch64.h (MAX_MEM_FOR_RS_ALIGN_CODE): Increase to 63.
- Authentication-results: sourceware.org; auth=none
- References: <1386181767-10323-1-git-send-email-philipp dot tomsich at theobroma-systems dot com>
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.
Thanks,
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 */
-#define MAX_MEM_FOR_RS_ALIGN_CODE 31
+/* Max code alignment is 64 bytes */
+#define MAX_MEM_FOR_RS_ALIGN_CODE 63
/* For frags in code sections we need to record whether they contain
code or data. */
--
1.7.2.5