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

Jan Knutar jknutar
Tue Sep 18 22:19:40 CEST 2007


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()

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vis.diff
Type: text/x-diff
Size: 1195 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070918/e39daf5f/attachment.diff>



More information about the ffmpeg-devel mailing list