Module Name: src
Committed By: skrll
Date: Thu Apr 16 08:59:16 UTC 2020
Modified Files:
src/sys/arch/aarch64/aarch64: vectors.S
Log Message:
Shave off 3 instructions per trap
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/aarch64/aarch64/vectors.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/aarch64/aarch64/vectors.S
diff -u src/sys/arch/aarch64/aarch64/vectors.S:1.14 src/sys/arch/aarch64/aarch64/vectors.S:1.15
--- src/sys/arch/aarch64/aarch64/vectors.S:1.14 Mon Apr 13 05:40:25 2020
+++ src/sys/arch/aarch64/aarch64/vectors.S Thu Apr 16 08:59:16 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: vectors.S,v 1.14 2020/04/13 05:40:25 maxv Exp $ */
+/* $NetBSD: vectors.S,v 1.15 2020/04/16 08:59:16 skrll Exp $ */
#include <aarch64/asm.h>
#include "assym.h"
@@ -23,9 +23,10 @@
* Template for the handler functions.
*/
.macro vector_func, func, el, label, tpidr
-ENTRY_NBTI(\func)
.align 7 /* cacheline-aligned */
+ENTRY_NBTI(\func)
+
.if \el == 1
/* need to allocate stack on el1 */
sub sp, sp, #TRAP_FRAMESIZE