[vlc-devel] [PATCH-fixed] Added assembly (SSE2, SSE4.1) processing functions to adjust filter
Gamajun at seznam.cz
Sat Aug 27 12:54:00 CEST 2011
Dne Thu, 25 Aug 2011 23:08:04 +0200 Rémi Denis-Courmont <remi at remlab.net>
> Le jeudi 25 août 2011 23:53:18 Martin Briza, vous avez écrit :
>> Dne Thu, 25 Aug 2011 08:35:38 +0200 Rémi Denis-Courmont
>> <remi at remlab.net>
>> > Isn't that sort of stuff supposed to be dealt with by the clobber
>> list of
>> > the inline assembly?
>> It's the second option, but it would require adding -msse2 (at least)
>> parameter to cflags for adjust, that would be automatically
>> depending on CPU capabilities. And, as far as I know, problems with data
>> storage in XMM registers occur only on win64 plattform, that uses them
>> store float numbers there.
> Does that not depend on the compiler settings?
> Does that mean non-Win64 will crash if 387 support is *disabled*?
If you want to add xmm registers to the clobber list, it depends on
compiler settings - without the parameter, it won't compile at all (at
least as I tested on 32b system).
I'm sorry, but I don't know what is 387 support. But this code should, as
far as I know, not crash.
But, after all, clobbering the registers seem like a better solution, so
if you will help me with setting the flags in makefiles, it's not a
More information about the vlc-devel