From: Frédéric Recoules <[email protected]>
---
libavcodec/x86/lpc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/x86/lpc.c b/libavcodec/x86/lpc.c
index 6c72e21bac..6789027277 100644
--- a/libavcodec/x86/lpc.c
+++ b/libavcodec/x86/lpc.c
@@ -118,7 +118,8 @@ static void lpc_compute_autocorr_sse2(const double *data,
int len, int lag,
:"+&r"(i)
:"r"(autoc+j), "r"(data+len), "r"(data+len-j)
NAMED_CONSTRAINTS_ARRAY_ADD(pd_1)
- :"memory"
+ :"memory" XMM_CLOBBERS(, "%xmm0", "%xmm1", "%xmm2",
+ "%xmm3", "%xmm4", "%xmm5")
);
} else {
__asm__ volatile(
@@ -142,6 +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")
);
}
}
--
2.17.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".