changeset 8555:2494834954ea libavcodec

SH4: fix typo in asm constraint
author mru
date Fri, 09 Jan 2009 03:05:11 +0000
parents 13d14e77e91a
children ce9d640decd1
files sh4/sh4.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sh4/sh4.h	Wed Jan 07 23:48:32 2009 +0000
+++ b/sh4/sh4.h	Fri Jan 09 03:05:11 2009 +0000
@@ -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)