diff options
author | alc <alc@FreeBSD.org> | 2005-04-10 20:49:21 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-04-10 20:49:21 +0000 |
commit | 94e3fd41de54cf16141d939a1c2e070ef1d3de61 (patch) | |
tree | 07603e6251edff819ec35f8d92635cd9399c7eb8 /sys/amd64/include/asm.h | |
parent | ef01f962751258288b25974f14e795c503fa91e4 (diff) | |
download | FreeBSD-src-94e3fd41de54cf16141d939a1c2e070ef1d3de61.zip FreeBSD-src-94e3fd41de54cf16141d939a1c2e070ef1d3de61.tar.gz |
Align the entry point to assembly language functions to a 16-byte boundary.
(The Opteron's instruction fetcher reads instructions from the L1 cache in
16-byte, aligned packets.)
Diffstat (limited to 'sys/amd64/include/asm.h')
-rw-r--r-- | sys/amd64/include/asm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/include/asm.h b/sys/amd64/include/asm.h index 80720ca..e1f2e4b 100644 --- a/sys/amd64/include/asm.h +++ b/sys/amd64/include/asm.h @@ -56,8 +56,7 @@ #define CNAME(csym) csym #define HIDENAME(asmsym) .asmsym -/* XXX should use .p2align 4,0x90 for -m486. */ -#define _START_ENTRY .text; .p2align 2,0x90 +#define _START_ENTRY .text; .p2align 4,0x90 #define _ENTRY(x) _START_ENTRY; \ .globl CNAME(x); .type CNAME(x),@function; CNAME(x): |