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

Derek E. Lewis dlewis
Fri Sep 14 14:11:38 CEST 2007

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.


Derek E. Lewis
dlewis at solnetworks.net

More information about the ffmpeg-devel mailing list