summaryrefslogtreecommitdiffstats
path: root/libavcodec/sh4/sh4.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/sh4/sh4.h')
-rw-r--r--libavcodec/sh4/sh4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sh4/sh4.h b/libavcodec/sh4/sh4.h
index 5678c92..5d46540 100644
--- a/libavcodec/sh4/sh4.h
+++ b/libavcodec/sh4/sh4.h
@@ -34,7 +34,7 @@
do { \
__asm__ volatile ("or %1, %0 \n\t" \
"lds %0, fpscr \n\t" \
- : "=&r"(fpscr) : "r"(1<<19)); \
+ : "+r"(fpscr) : "r"(1<<19)); \
} while (0)
#else
# define fp_single_enter(fpscr) ((void)fpscr)
OpenPOWER on IntegriCloud