Module Name: src
Committed By: maxv
Date: Sat Jan 27 17:54:13 UTC 2018
Modified Files:
src/sys/arch/amd64/amd64: locore.S
Log Message:
Use testb, faster.
To generate a diff of this commit:
cvs rdiff -u -r1.149 -r1.150 src/sys/arch/amd64/amd64/locore.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/amd64/amd64/locore.S
diff -u src/sys/arch/amd64/amd64/locore.S:1.149 src/sys/arch/amd64/amd64/locore.S:1.150
--- src/sys/arch/amd64/amd64/locore.S:1.149 Mon Jan 22 08:14:09 2018
+++ src/sys/arch/amd64/amd64/locore.S Sat Jan 27 17:54:13 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.149 2018/01/22 08:14:09 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.150 2018/01/27 17:54:13 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -1522,7 +1522,7 @@ LABEL(intrfastexit)
NOT_XEN(cli;)
SVS_LEAVE
INTR_RESTORE_GPRS
- testw $SEL_UPL,TF_CS(%rsp) /* interrupted %cs */
+ testb $SEL_UPL,TF_CS(%rsp) /* interrupted %cs */
jz .Lkexit
cmpw $LSEL(LUCODE_SEL, SEL_UPL),TF_CS(%rsp)
je .Luexit64