Re: [libav-devel] [PATCH 3/3] x86: add detection for Bit Manipulation Instruction sets

2014-02-23 Thread Janne Grunau
On 2014-02-22 02:54:02 -0300, James Almer wrote: Based on x264 code Signed-off-by: James Almer jamr...@gmail.com --- libavutil/cpu.c | 6 ++ libavutil/cpu.h | 2 ++ libavutil/x86/cpu.c | 16 +++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git

Re: [libav-devel] [PATCH 3/3] x86: add detection for Bit Manipulation Instruction sets

2014-02-23 Thread James Almer
On 23/02/14 11:20 AM, Janne Grunau wrote: Do you plan to write assembly using any of these instructions? Having the tests while not using the instructions is just an exercise in completeness. Janne No, not for BMI1/2. I saw the TODO line as i was adding FMA3 so i thought i might as well

[libav-devel] [PATCH 3/3] x86: add detection for Bit Manipulation Instruction sets

2014-02-21 Thread James Almer
Based on x264 code Signed-off-by: James Almer jamr...@gmail.com --- libavutil/cpu.c | 6 ++ libavutil/cpu.h | 2 ++ libavutil/x86/cpu.c | 16 +++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/libavutil/cpu.c b/libavutil/cpu.c index 972e4eb..d651eb2