[x264-devel] Windows x64 support
Jason Garrett-Glaser
darkshikari at gmail.com
Tue Dec 9 00:12:35 CET 2008
On Mon, Dec 8, 2008 at 3:10 PM, BugMaster <BugMaster at narod.ru> wrote:
> On Mon, 8 Dec 2008 14:59:44 -0800, Jason Garrett-Glaser wrote:
>>> Replace with what? With variables (in stack)?
>
>> I'm referring to the fact that, in general, throughout the asm code,
>> we have used xmm6 and xmm7 as registers for things like zeroes, masks,
>> etc and other such global values that aren't modified during a
>> function. Thus, you can get functions that use no registers other
>> than xmm0, xmm1, xmm6, and xmm7, for example.
>
>> Obviously, this is suboptimal when xmm6 and xmm7 have to be backed up
>> on the stack, so those functions should be fixed by, for example, for
>> the above case, changing 6 and 7 to 2 and 3, respectively.
>
>> This is a simple find/replace on all such functions that use very few xmmregs.
>
> Now I understand what you mean but I don't think there is a lot of
> functions that use xmm6 or xmm7 and don't already use xmm0-xmm5.
Example: x264_decimate_score64
Dark Shikari
More information about the x264-devel
mailing list