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

Balatoni Denes dbalatoni
Fri Sep 14 23:02:31 CEST 2007


Friday 14 September 2007 14:11-kor Derek E. Lewis ezt ?rta:
> On Fri, 14 Sep 2007, Diego Biurrun wrote:
> > No problem.  If you have a moment, please look at
> >
> > https://roundup.mplayerhq.hu/roundup/ffmpeg/issue161
> >
> > which is an issue with your IDCT.
> The problem is -mcpu=ultrasparc isn't set for some reason. Without this,
> gcc by default generates code for SPARCv7 which precedes SPARCv8,
> obviously. SPARC is intended to be backwards compatible such that a
> SPARCv9 can run code for SPARCv8 and SPARCv7, as well. There are no
> 'obsolete v8 instructions' for SPARCv9. Because gcc generates code for
> SPARCv7 by default, code that uses SPARCv8 registers will cause the
> assembler to generate this exact error. Hope this cleared things up.

Thanks Derek, that did clear things up for me - because I had no idea what 
these obsolote v8plus registers were. 

So this should be fixed by the (already applied) Makefile patch, right?

> Thanks,
> Derek E. Lewis
> dlewis at solnetworks.net
> http://delewis.blogspot.com


More information about the ffmpeg-devel mailing list