diff --git a/libavcodec/sh4/sh4.h b/libavcodec/sh4/sh4.h index 5678c920a4..5d46540cb6 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)