Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 Shave off 3 instructions per trap



details:   https://anonhg.NetBSD.org/src/rev/a2db60ff207c
branches:  trunk
changeset: 971166:a2db60ff207c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Apr 16 08:59:16 2020 +0000

description:
Shave off 3 instructions per trap

diffstat:

 sys/arch/aarch64/aarch64/vectors.S |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 32abd2de193b -r a2db60ff207c sys/arch/aarch64/aarch64/vectors.S
--- a/sys/arch/aarch64/aarch64/vectors.S        Thu Apr 16 08:03:30 2020 +0000
+++ b/sys/arch/aarch64/aarch64/vectors.S        Thu Apr 16 08:59:16 2020 +0000
@@ -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,8 +23,9 @@
  * Template for the handler functions.
  */
 .macro vector_func, func, el, label, tpidr
+       .align 7        /* cacheline-aligned */
+
 ENTRY_NBTI(\func)
-       .align 7        /* cacheline-aligned */
 
        .if \el == 1
        /* need to allocate stack on el1 */



Home | Main Index | Thread Index | Old Index