[FFmpeg-devel] [PATCH] fix compiling VIS assembly on SPARC

Diego Biurrun diego
Fri Sep 21 11:36:25 CEST 2007


On Tue, Sep 18, 2007 at 11:19:40PM +0300, Jan Knutar wrote:
> On Tuesday 18 September 2007 16:46, Diego Biurrun wrote:
> > On Tue, Sep 18, 2007 at 06:50:14AM +0300, Jan Knutar wrote:
> > > On Tuesday 18 September 2007 03:23, Diego Biurrun wrote:
> > > > Somebody with some SPARC-fu please fix the attached patch.  I
> > > > just took the 23rd assembler line from
> > > > libavcodec/sparc/simple_idct_vis.c, it looked as good as any of
> > > > them ...
> > >
> > > The compiler will refuse to compile this unless -mcpu=ultrasparc
> > > How do you make configure run the tests with that flag set?
> >
> > That's easily solved.  Could somebody now test and fix my patch?
> 
> Illegal operand or something such.
> 
> How about this line of asm, stolen from libavcodec/sparc/dsputil_vis.c 
> vis_level()

Is it a VIS instruction?  Have you tested the patch to work?

Diego




More information about the ffmpeg-devel mailing list