summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2001-11-12 21:58:27 +0000
committerkeramida <keramida@FreeBSD.org>2001-11-12 21:58:27 +0000
commitb55f812925a4a4df1d916c44c9100d3aabc80ffa (patch)
treee7cbd7285930e47b65bc2ff3b36f21e0b9e40541 /sys/gnu
parente2b354901dcb09c2c9937dae4dca696ccd2e7650 (diff)
downloadFreeBSD-src-b55f812925a4a4df1d916c44c9100d3aabc80ffa.zip
FreeBSD-src-b55f812925a4a4df1d916c44c9100d3aabc80ffa.tar.gz
Change constraints to use "+" in inline asm instead of mapping input
to output parameters with "0". Reviewed by: jhb
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/i386/fpemul/fpu_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/gnu/i386/fpemul/fpu_entry.c b/sys/gnu/i386/fpemul/fpu_entry.c
index ec75bee..dde1b77 100644
--- a/sys/gnu/i386/fpemul/fpu_entry.c
+++ b/sys/gnu/i386/fpemul/fpu_entry.c
@@ -191,7 +191,7 @@ FPU_REG *FPU_st0_ptr;
char emulating = 0;
#endif /* PARANOID */
-#define bswapw(x) __asm__("xchgb %%al,%%ah":"=a" (x):"0" ((short)x))
+#define bswapw(x) __asm__("xchgb %%al,%%ah":"+a" ((short)(x)))
#define math_abort(signo) \
FPU_EIP = FPU_ORIG_EIP;REENTRANT_CHECK(OFF);return(signo);
OpenPOWER on IntegriCloud