[FFmpeg-devel] [PATCH] read_time() for SPARC

Måns Rullgård mans
Thu Sep 9 12:59:55 CEST 2010

Michael Kostylev <michael.kostylev at gmail.com> writes:

>> The presence of __sparc_v9__ clearly does not imply we are allowed
>> to use 64-bit registers; __arch64__ does.
> __sparc_v9__ means the v9 hardware, __arch64__ means the v9 abi.

Exactly, and without the v9 ABI we can't use 64-bit registers.

>>If the rd instruction requires a v9 CPU, the test should be for
>>__sparc_v9__ && __arch64__.
> The v9 abi is usable only on the appropriate hardware.

Yes, the v9 ABI requires support from both hardware and system
software.  If either is missing, it cannot be used.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list