summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-09-21 21:22:45 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-09-21 21:22:45 +0000
commitf136ca778c480e5e1e2ad58927fd8fb036d458db (patch)
tree60dcc5b541be106a8f535f142a3cefd82200705e /sys/arch
parentb106469cce3fd503ecb7e7a0e122bebf06bc37e9 (diff)
After reading IRIX header files again, add one more SSNOP to MTC0_HAZARD (and
remove one from constructs based upon it) when building for R8000.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mips64/include/asm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mips64/include/asm.h b/sys/arch/mips64/include/asm.h
index 88810c74d49..7267fedbb23 100644
--- a/sys/arch/mips64/include/asm.h
+++ b/sys/arch/mips64/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.21 2014/03/14 16:57:21 miod Exp $ */
+/* $OpenBSD: asm.h,v 1.22 2015/09/21 21:22:44 miod Exp $ */
/*
* Copyright (c) 2001-2002 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -361,9 +361,9 @@ x: ; \
*/
#define PRE_MFC0_ADDR_HAZARD .align 5; SSNOP
#define MFC0_HAZARD SSNOP
-#define MTC0_HAZARD SSNOP; SSNOP; SSNOP
-#define MTC0_SR_IE_HAZARD MTC0_HAZARD; SSNOP
-#define MTC0_SR_CU_HAZARD MTC0_HAZARD; SSNOP
+#define MTC0_HAZARD SSNOP; SSNOP; SSNOP; SSNOP
+#define MTC0_SR_IE_HAZARD MTC0_HAZARD
+#define MTC0_SR_CU_HAZARD MTC0_HAZARD
#endif
/* Hazard between {d,}mfc0 of COP_0_VADDR */