Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Our assembler handles FPA instructions fi...
details: https://anonhg.NetBSD.org/src/rev/6b06dd79ed16
branches: trunk
changeset: 522338:6b06dd79ed16
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sun Feb 17 20:41:02 2002 +0000
description:
Our assembler handles FPA instructions fine, so don't use .word for them.
diffstat:
sys/arch/arm/arm32/cpu.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 155bc9c16149 -r 6b06dd79ed16 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Sun Feb 17 20:26:03 2002 +0000
+++ b/sys/arch/arm/arm32/cpu.c Sun Feb 17 20:41:02 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.15 2002/02/17 19:53:44 bjh21 Exp $ */
+/* $NetBSD: cpu.c,v 1.16 2002/02/17 20:41:02 bjh21 Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -116,7 +116,7 @@
u_int fpsr;
__asm __volatile("stmfd sp!, {r0};"
- ".word 0xee300110;"
+ "rfs r0;"
"mov %0, r0;"
"ldmfd sp!, {r0}" : "=r" (fpsr));
@@ -196,7 +196,7 @@
undefined_test = 0;
__asm __volatile("stmfd sp!, {r0};"
- ".word 0xee300110;"
+ "rfs r0;"
"mov %0, r0;"
"ldmfd sp!, {r0}" : "=r" (fpsr));
Home |
Main Index |
Thread Index |
Old Index