[x264-devel] Re: x86 + yasm + pic causes x264 to segfault in x264_pixel_ssim_4x4x2_core_sse2
Alexis Ballier
aballier at gentoo.org
Wed Jun 6 00:00:17 CEST 2007
Ha, and I hope some (perhaps) more useful info :
I used objdump to get the code of pixel-sse2.o, and here is what I
get :
compiled with nasm :
2e05: 8b 44 24 18 mov 0x18(%esp),%eax
2e09: e8 00 00 00 00 call 2e0e <x264_pixel_ssim_4x4x2_core_sse2+0x10e>
2e0e: 5b pop %ebx
2e0f: 81 c3 03 00 00 00 add $0x3,%ebx
2e15: 66 0f 6f bb 00 00 00 movdqa 0x0(%ebx),%xmm7
2e1c: 00
2e1d: 66 0f 70 eb b1 pshufd $0xb1,%xmm3,%xmm5
and with yasm :
45e5: 8b 44 24 18 mov 0x18(%esp),%eax
45e9: e8 00 00 00 00 call 45ee <x264_pixel_ssim_4x4x2_core_sse2+0x10e>
45ee: 5b pop %ebx
45ef: 81 c3 12 ba ff ff add $0xffffba12,%ebx
45f5: 66 0f 6f bb 00 00 00 movdqa 0x0(%ebx),%xmm7
45fc: 00
45fd: 66 0f 70 eb b1 pshufd $0xb1,%xmm3,%xmm5
Alexis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20070606/901ed5d1/attachment.pgp
More information about the x264-devel
mailing list