[FFmpeg-devel] Rename SH4 architecture to SH

Måns Rullgård mans
Thu Jan 15 16:07:26 CET 2009


Mike Melanson <mike at multimedia.cx> writes:

> M?ns Rullg?rd wrote:
>> Diego Biurrun wrote:
>>> On Thu, Jan 15, 2009 at 12:30:15PM +0000, Robert Swain wrote:
>>>> 2009/1/15 Diego Biurrun <diego at biurrun.de>:
>>>>> Hi, I just noticed that the SuperH architecture is abbreviated as SH,
>>>>> but we use SH4 in #defines and directory names.  I propose changing
>>>>> that.  Anybody against?
>>>> Would it lose any clarity because of 'sh' being an abbreviation for 'shell'?
>>> In what context do you think it could be confused?
>>>
>>> I think I have to note that SH-4 (or SH4) is just a special type of SH
>>> processor, similar to ARM and ARMV4L/ARMV5 etc., there exist other
>>> variants like SH-2, SH-3, SH-5, ...
>> 
>> All our code for that family is for SH4, and as someone else said, none
>> of the others see much use.  The architecture is generally referred to
>> as sh4, so renaming it could be confusing.  I'd leave it as is for now.
>
> Not only is the code for SH4 specifically, I think some of the special 
> optimizations might be for the Sega Dreamcast's custom variant of the 
> CPU. But I would have to research it again to be sure.

Our SH4 code is for the generic SH4 CPU.  We have some code specific
for the PS2.  Maybe that's what you were thinking of.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list