Commit c1d42dfd authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

NEON deinterlace: fix register clobber

(cherry picked from commit 9427395c2df7f13ab4ce250be0cbe00d38c4dd6d)
parent 6970145b
...@@ -1219,7 +1219,8 @@ static void MergeNEON (void *restrict out, const void *in1, ...@@ -1219,7 +1219,8 @@ static void MergeNEON (void *restrict out, const void *in1,
"vst1.u8 {q10-q11}, [%[out],:128]!\n" "vst1.u8 {q10-q11}, [%[out],:128]!\n"
: [out] "+r" (outp), [in1] "+r" (in1p), [in2] "+r" (in2p) : [out] "+r" (outp), [in1] "+r" (in1p), [in2] "+r" (in2p)
: :
: "q0", "q1", "q2", "memory"); : "q0", "q1", "q2", "q3", "q4", "q5", "q6", "q7",
"q8", "q9", "q10", "q11", "memory");
else else
while (outp < end) while (outp < end)
asm volatile ( asm volatile (
...@@ -1235,7 +1236,8 @@ static void MergeNEON (void *restrict out, const void *in1, ...@@ -1235,7 +1236,8 @@ static void MergeNEON (void *restrict out, const void *in1,
"vst1.u8 {q10-q11}, [%[out],:128]!\n" "vst1.u8 {q10-q11}, [%[out],:128]!\n"
: [out] "+r" (outp), [in1] "+r" (in1p), [in2] "+r" (in2p) : [out] "+r" (outp), [in1] "+r" (in1p), [in2] "+r" (in2p)
: :
: "q0", "q1", "q2", "memory"); : "q0", "q1", "q2", "q3", "q4", "q5", "q6", "q7",
"q8", "q9", "q10", "q11", "memory");
n &= 15; n &= 15;
if (n) if (n)
MergeGeneric (outp, in1p, in2p, n); MergeGeneric (outp, in1p, in2p, n);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment