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/0457c0ce5cd7
branches:  trunk
changeset: 930877:0457c0ce5cd7
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 4abe8b67d400 -r 0457c0ce5cd7 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