[FFmpeg-devel] [PATCH 2/2] postproc/postprocess_template: remove FF_REG_sp from clobber list

Michael Niedermayer michael at niedermayer.cc
Sat Dec 22 21:49:28 EET 2018


On Thu, Dec 20, 2018 at 10:04:21PM -0300, James Almer wrote:
> On 12/20/2018 8:56 PM, Michael Niedermayer wrote:
> > On Thu, Dec 20, 2018 at 06:54:12PM -0300, James Almer wrote:
> >> On 12/20/2018 6:40 PM, Michael Niedermayer wrote:
> >>> Future gcc may no longer support this
> >>>
> >>> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> >>> ---
> >>>  libpostproc/postprocess_template.c | 2 +-
> >>>  1 file changed, 1 insertion(+), 1 deletion(-)
> >>>
> >>> diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c
> >>> index 485eb5cfc0..b0adfd168c 100644
> >>> --- a/libpostproc/postprocess_template.c
> >>> +++ b/libpostproc/postprocess_template.c
> >>> @@ -1317,7 +1317,7 @@ DERING_CORE((%0, %1, 8)       ,(%%FF_REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,
> >>>          "1:                        \n\t"
> >>>          : : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp)
> >>>            NAMED_CONSTRAINTS_ADD(deringThreshold,b00,b02,b08)
> >>> -        : "%"FF_REG_a, "%"FF_REG_d, "%"FF_REG_sp
> >>> +        : "%"FF_REG_a, "%"FF_REG_d
> >>>      );
> >>>  #else // HAVE_7REGS && (TEMPLATE_PP_MMXEXT || TEMPLATE_PP_3DNOW)
> >>>      int y;
> >>
> >> The set compiles with gcc 9 now, so LGTM if tested. Should be backported
> >> to supported releases as well.
> > 
> > ive tested it locally on x86 32&64 but not with gcc 9, it would be ideal
> > if someone tests this with gcc 9 beyond compilation
> > 
> > this should use the code, the "31" can be varied to test different "strength"
> > -vf 'pp=de/fq|31'
> > 
> > thx
> 
> Tested it with gcc 9. Doesn't crash and the output is bitexact to what i
> get with gcc 8.

applied

thx
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181222/b7239e91/attachment.sig>


More information about the ffmpeg-devel mailing list