Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Use cmpw.
details: https://anonhg.NetBSD.org/src/rev/c09ac4e7f940
branches: trunk
changeset: 356895:c09ac4e7f940
user: maxv <maxv%NetBSD.org@localhost>
date: Thu Oct 19 20:27:12 2017 +0000
description:
Use cmpw.
diffstat:
sys/arch/amd64/amd64/locore.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r f00a006689a4 -r c09ac4e7f940 sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S Thu Oct 19 20:11:38 2017 +0000
+++ b/sys/arch/amd64/amd64/locore.S Thu Oct 19 20:27:12 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.135 2017/10/19 19:05:53 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.136 2017/10/19 20:27:12 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -1475,9 +1475,9 @@
INTR_RESTORE_GPRS
testq $SEL_UPL,TF_CS(%rsp) /* interrupted %cs */
jz .Lkexit
- cmpq $LSEL(LUCODE_SEL, SEL_UPL),TF_CS(%rsp)
+ cmpw $LSEL(LUCODE_SEL, SEL_UPL),TF_CS(%rsp)
je .Luexit64
- cmpq $GSEL(GUCODE_SEL, SEL_UPL),TF_CS(%rsp)
+ cmpw $GSEL(GUCODE_SEL, SEL_UPL),TF_CS(%rsp)
je .Luexit64
.Luexit32:
Home |
Main Index |
Thread Index |
Old Index