SH4: fix typo in asm constraint
authorMåns Rullgård <mans@mansr.com>
Fri, 9 Jan 2009 03:05:11 +0000 (03:05 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 9 Jan 2009 03:05:11 +0000 (03:05 +0000)
Originally committed as revision 16503 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/sh4/sh4.h

index 5678c92..5d46540 100644 (file)
@@ -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)