[x264-devel] Windows x64 support
Loren Merritt
lorenm at u.washington.edu
Sat Jan 17 16:44:10 CET 2009
On Sat, 17 Jan 2009, BugMaster wrote:
> On Fri, 16 Jan 2009 20:53:03 +0000 (UTC), Loren Merritt wrote:
>
>> I think x264_checkasm_call could be simplified if you keep the random
>> constants in static const memory rather than in %defines.
>
> Did you mean something like this (couldn't test it now but it compiles
> at least):
> http://stashbox.org/363808/x264_win64_support.02mod.r1080.diff
That's part of it. The rest is:
ALIGN 16
n4: dq 0xa77809bf11b239d1
n5: dq 0x2ba9bf3d2f05b389
x6: dq 0x1a1b2550a612b48c, 0x79445c159ce79064
...
pxor xmm0, xmm0
%assign i 6
%rep 16-6
pxor xmm %+ i, [x %+ i GLOBAL]
por xmm0, xmm %+ i
%assign i i+1
%endrep
packsswb xmm0, xmm0
movq r5, xmm0
or r4, r5
--Loren Merritt
More information about the x264-devel
mailing list