diff mbox series

[FFmpeg-devel,13/14,inline,assembly] add memory to lpc

Message ID 20200422174918.7290-13-frederic.recoules@univ-grenoble-alpes.fr
State New
Headers show
Series [FFmpeg-devel,1/5,inline,assembly] prepares for contiguous assembly statements merging
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

FRÉDÉRIC RECOULES April 26, 2020, 7:44 p.m. UTC
From: Frédéric Recoules <frederic.recoules@orange.fr>

---
 libavcodec/x86/lpc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/x86/lpc.c b/libavcodec/x86/lpc.c
index 6789027277..0b32bd1bf1 100644
--- a/libavcodec/x86/lpc.c
+++ b/libavcodec/x86/lpc.c
@@ -73,7 +73,7 @@  static void lpc_apply_welch_window_sse2(const int32_t *data, int len,
         :"+&r"(i), "+&r"(j)
         :"r"(w_data+n2), "r"(data+n2), "m"(c), "r"(len)
          NAMED_CONSTRAINTS_ARRAY_ADD(pd_1,pd_2)
-         XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3",
+        :"memory" XMM_CLOBBERS(, "%xmm0", "%xmm1", "%xmm2", "%xmm3",
                                     "%xmm5", "%xmm6", "%xmm7")
     );
 #undef WELCH
@@ -143,7 +143,7 @@  static void lpc_compute_autocorr_sse2(const double *data, int len, int lag,
                 :"+&r"(i), "=m"(autoc[j]), "=m"(autoc[j+1])
                 :"r"(data+len), "r"(data+len-j)
                  NAMED_CONSTRAINTS_ARRAY_ADD(pd_1)
-		 XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm3", "%xmm4")
+		:"memory" XMM_CLOBBERS(, "%xmm0", "%xmm1", "%xmm3", "%xmm4")
             );
         }
     }