[FFmpeg-devel] [PATCH] read_time() for SPARC
Måns Rullgård
mans
Fri Sep 10 16:31:10 CEST 2010
Jeff Downs <heydowns at somuchpressure.net> writes:
> On Fri, 10 Sep 2010, M?ns Rullg?rd wrote:
>
>> Michael Kostylev <michael.kostylev at gmail.com> writes:
>>
>> > On Fri Sep 10 09:47:34 2010
>> > M?ns Rullg?rd wrote:
>> >
>
> [...]
>
>> >>>>> +#if defined(__arch64__) || defined(__sparc_v9__)
>> >>>>
>> >>>>I'm still not convinced this is right:
>> >>>
>> >>> There is an issue with -m32 on Solaris.
>> >>
>> >>I don't understand.
>> >
>> > As mentioned, __sparc_v9__ is never defined there.
>>
>> That does not make __sparc_v9__ alone a sufficient condition for using
>> 64-bit registers.
>
> As far as I can tell, there is no reliably set macro to indicate that
> v8plus is in use on Solaris.
> SunCC sets a macro (__v8plus or similar, IIRC) but gcc does not emulate
> this behavior.
Bummer. Is a configure test possible?
This could be useful to know for other purposes than reading the timer.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list