Re: UPDATE: x264 - Build ASM support on x86

2014-01-10 Thread Stuart Henderson
On 2014/01/09 14:36, Brad Smith wrote: Make use of Clang's integrated assembler to build the x86 ASM support within x264 so as to use MMX / MMXEXT / SSE / SSE2 / SSSE3 Does it do runtime detection of what's available?

Re: UPDATE: x264 - Build ASM support on x86

2014-01-10 Thread Brett Mahar
On Fri, 10 Jan 2014 08:47:45 + Stuart Henderson st...@openbsd.org wrote: | On 2014/01/09 14:36, Brad Smith wrote: | Make use of Clang's integrated assembler to build the x86 ASM support | within x264 so as to use MMX / MMXEXT / SSE / SSE2 / SSSE3 | | Does it do runtime detection of what's

Re: UPDATE: x264 - Build ASM support on x86

2014-01-10 Thread Stuart Henderson
On 2014/01/10 20:00, Brett Mahar wrote: On Fri, 10 Jan 2014 08:47:45 + Stuart Henderson st...@openbsd.org wrote: | On 2014/01/09 14:36, Brad Smith wrote: | Make use of Clang's integrated assembler to build the x86 ASM support | within x264 so as to use MMX / MMXEXT / SSE / SSE2 /

Re: UPDATE: x264 - Build ASM support on x86

2014-01-10 Thread Marc Espie
On Fri, Jan 10, 2014 at 09:18:37AM +, Stuart Henderson wrote: On 2014/01/10 20:00, Brett Mahar wrote: On Fri, 10 Jan 2014 08:47:45 + Stuart Henderson st...@openbsd.org wrote: | On 2014/01/09 14:36, Brad Smith wrote: | Make use of Clang's integrated assembler to build the x86

Re: UPDATE: x264 - Build ASM support on x86

2014-01-10 Thread Brad Smith
On 10/01/14 4:18 AM, Stuart Henderson wrote: OK to move amd64 across. Doesn't work on i386, not enough registers, and omitting the frame pointer doesn't help. *sigh* this register pressure is a real pain in the ass. I'll see if there is anything I can do about this. -- This message has been

UPDATE: x264 - Build ASM support on x86

2014-01-09 Thread Brad Smith
Make use of Clang's integrated assembler to build the x86 ASM support within x264 so as to use MMX / MMXEXT / SSE / SSE2 / SSSE3 and if there is kernel support added also AVX / AVX2. This can have quite an impact on performance improving encoding speed by 2 - 3 times. Index: Makefile

Re: UPDATE: x264 - Build ASM support on x86

2014-01-09 Thread Brett Mahar
On Thu, 9 Jan 2014 14:36:47 -0500 Brad Smith b...@comstyle.com wrote: | Make use of Clang's integrated assembler to build the x86 ASM support | within x264 so as to use MMX / MMXEXT / SSE / SSE2 / SSSE3 and if there | is kernel support added also AVX / AVX2. This can have quite an impact | on

Re: UPDATE: x264 - Build ASM support on x86

2014-01-09 Thread Brad Smith
On 10/01/14 12:20 AM, Brett Mahar wrote: On Thu, 9 Jan 2014 14:36:47 -0500 Brad Smith b...@comstyle.com wrote: | Make use of Clang's integrated assembler to build the x86 ASM support | within x264 so as to use MMX / MMXEXT / SSE / SSE2 / SSSE3 and if there | is kernel support added also AVX /