aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/lpc.c
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-05-07 14:16:26 +1000
committerMichael Niedermayer <michaelni@gmx.at>2014-05-07 15:02:45 +0200
commit1898c2f49da3151fbce04ecf35971005707a609d (patch)
tree8a34d0bdd66b30c062c1a24d8bdf7b9759d40d2a /libavcodec/x86/lpc.c
parent134206ca7a3d395c827e6a041f7f01e5fb9e1693 (diff)
downloadffmpeg-1898c2f49da3151fbce04ecf35971005707a609d.tar.gz
inline asm: fix arrays as named constraints.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/lpc.c')
-rw-r--r--libavcodec/x86/lpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/lpc.c b/libavcodec/x86/lpc.c
index bff26359f4..3a9493f728 100644
--- a/libavcodec/x86/lpc.c
+++ b/libavcodec/x86/lpc.c
@@ -72,7 +72,7 @@ static void lpc_apply_welch_window_sse2(const int32_t *data, int len,
"3: \n\t"
:"+&r"(i), "+&r"(j)
:"r"(w_data+n2), "r"(data+n2), "m"(c), "r"(len)
- NAMED_CONSTRAINTS_ADD(pd_1,pd_2)
+ NAMED_CONSTRAINTS_ARRAY_ADD(pd_1,pd_2)
XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3",
"%xmm5", "%xmm6", "%xmm7")
);
@@ -117,7 +117,7 @@ static void lpc_compute_autocorr_sse2(const double *data, int len, int lag,
"movsd %%xmm2, 16(%1) \n\t"
:"+&r"(i)
:"r"(autoc+j), "r"(data+len), "r"(data+len-j)
- NAMED_CONSTRAINTS_ADD(pd_1)
+ NAMED_CONSTRAINTS_ARRAY_ADD(pd_1)
:"memory"
);
} else {
@@ -141,7 +141,7 @@ static void lpc_compute_autocorr_sse2(const double *data, int len, int lag,
"movsd %%xmm1, %2 \n\t"
:"+&r"(i), "=m"(autoc[j]), "=m"(autoc[j+1])
:"r"(data+len), "r"(data+len-j)
- NAMED_CONSTRAINTS_ADD(pd_1)
+ NAMED_CONSTRAINTS_ARRAY_ADD(pd_1)
);
}
}