summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/asm.h
diff options
context:
space:
mode:
authorHarald Koerfgen <hkoerfg@web.de>1999-08-13 17:07:25 +0000
committerHarald Koerfgen <hkoerfg@web.de>1999-08-13 17:07:25 +0000
commit847f8ee407875af42d99ed968bdaf7e330dcc29c (patch)
treef8cb6dc77e995dcbcb08e40e315cfa3667d9fd71 /include/asm-mips/asm.h
parent4d912d3f512450d6dd88c1c42a8df0bc8701c6d3 (diff)
Made implicit assumptions about the availability of some CPU capabilities on certain ISA levels explicitely configurable
Diffstat (limited to 'include/asm-mips/asm.h')
-rw-r--r--include/asm-mips/asm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/asm.h b/include/asm-mips/asm.h
index cd4dcf284..5f3ca01e2 100644
--- a/include/asm-mips/asm.h
+++ b/include/asm-mips/asm.h
@@ -151,17 +151,17 @@ symbol = value
/*
* MIPS ISA IV/V movn/movz instructions and equivalents for older CPUs.
*/
-#if _MIPS_ISA == _MIPS_ISA_MIPS1
+#if (_MIPS_ISA == _MIPS_ISA_MIPS1)
#define MOVN(rd,rs,rt) \
.set push; \
- .set reorder; \
+ .set noreorder; \
beqz rt,9f; \
move rd,rs; \
.set pop; \
9:
#define MOVZ(rd,rs,rt) \
.set push; \
- .set reorder; \
+ .set noreorder; \
bnez rt,9f; \
move rd,rt; \
.set pop; \