ffmpeg: Add sse4 related options BR2_X86_CPU_HAS_SSE4 / BR2_X86_CPU_HAS_SSE4
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH v3 2/2 ffmpeg: Add sse4 related options BR2_X86_CPU_HAS_SSE4 / BR2_X86_CPU_HAS_SSE4
--- arch/Config.in.x86 | 4 ++++ package/ffmpeg/ffmpeg.mk | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-)
arch/Config.in.x86 +4 -0
@@ -9,6 +9,10 @@ config BR2_X86_CPU_HAS_SSE3 bool config BR2_X86_CPU_HAS_SSSE3 bool +config BR2_X86_CPU_HAS_SSE4 + bool +config BR2_X86_CPU_HAS_SSE42 + bool choice prompt "Target Architecture Variant"
package/ffmpeg/ffmpeg.mk +12 -0
@@ -244,6 +244,18 @@ else FFMPEG_CONF_OPT += --disable-ssse3 endif +ifeq ($(BR2_X86_CPU_HAS_SSE4),y) +FFMPEG_CONF_OPT += --enable-sse4 +else +FFMPEG_CONF_OPT += --disable-sse4 +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE42),y) +FFMPEG_CONF_OPT += --enable-sse42 +else +FFMPEG_CONF_OPT += --disable-sse42 +endif + # Explicitly disable everything that doesn't match for ARM # FFMPEG "autodetects" by compiling an extended instruction via AS # This works on compilers that aren't built for generic by default
Signature · 1 line
1.7.9.5
PATCH v3 2/2 ffmpeg: Add sse4 related options BR2_X86_CPU_HAS_SSE4 / BR2_X86_CPU_HAS_SSE4
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Signed-off-by Bernd Kuhls <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v3 2/2 ffmpeg: Add sse4 related options BR2_X86_CPU_HAS_SSE4 / BR2_X86_CPU_HAS_SSE4
In reply to Bernd KuhlsQuoted 12 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- arch/Config.in.x86 | 4 ++++ package/ffmpeg/ffmpeg.mk | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-)arch/Config.in.x86 +0
-0
arch/Config.in.x86 config BR2_X86_CPU_HAS_SSE3 · line 15
Quoted 7 lines
arch/Config.in.x86 +4
-0@@ -9,6 +9,10 @@ config BR2_X86_CPU_HAS_SSE3 bool config BR2_X86_CPU_HAS_SSSE3 bool +config BR2_X86_CPU_HAS_SSE4 + bool +config BR2_X86_CPU_HAS_SSE42 + bool
Since nobody selects these symbols, this patch just adds dead code, right?
Regards,
Arnout
Quoted 27 lines
arch/Config.in.x86 +0
-0choice prompt "Target Architecture Variant"package/ffmpeg/ffmpeg.mk +12
-0@@ -244,6 +244,18 @@ else FFMPEG_CONF_OPT += --disable-ssse3 endif +ifeq ($(BR2_X86_CPU_HAS_SSE4),y) +FFMPEG_CONF_OPT += --enable-sse4 +else +FFMPEG_CONF_OPT += --disable-sse4 +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE42),y) +FFMPEG_CONF_OPT += --enable-sse42 +else +FFMPEG_CONF_OPT += --disable-sse42 +endif + # Explicitly disable everything that doesn't match for ARM # FFMPEG "autodetects" by compiling an extended instruction via AS # This works on compilers that aren't built for generic by default
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH v3 2/2 ffmpeg: Add sse4 related options BR2_X86_CPU_HAS_SSE4 / BR2_X86_CPU_HAS_SSE4
Arnout, all,
2014/1/14 Arnout Vandecappelle <[email protected]>
Quoted 9 lines · Bernd Kuhls
Quoted 8 lines
Signed-off-by Bernd Kuhls <[email protected]>--- arch/Config.in.x86 | 4 ++++ package/ffmpeg/ffmpeg.mk | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-)
Quoted 16 lines
arch/Config.in.x86 config BR2_X86_CPU_HAS_SSE3 · line 16
Quoted 13 lines
arch/Config.in.x86 +4
-0@@ -9,6 +9,10 @@ config BR2_X86_CPU_HAS_SSE3 bool config BR2_X86_CPU_HAS_SSSE3 bool +config BR2_X86_CPU_HAS_SSE4 + bool +config BR2_X86_CPU_HAS_SSE42 + boolSince nobody selects these symbols, this patch just adds dead code, right?
Well, I have a bump of opencv in the pipe that can use these new symbols too.
Regards,
Signature · 4 lines
Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140114/afa3c89c/attachment.html>
PATCH v3 2/2 ffmpeg: Add sse4 related options BR2_X86_CPU_HAS_SSE4 / BR2_X86_CPU_HAS_SSE4
In reply to Arnout VandecappelleQuoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Quoted 7 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>---
arch/Config.in.x86| 4 ++++package/ffmpeg/ffmpeg.mk| 14 +++++++++++++-2 files changed, 17 insertions(+), 1 deletion(-)
Quoted 15 lines
arch/Config.in.x86 config BR2_X86_CPU_HAS_SSE3 · line 15
Quoted 12 lines
arch/Config.in.x86 +0
-0@@ -9,6 +9,10 @@ config BR2_X86_CPU_HAS_SSE3bool
configBR2_X86_CPU_HAS_SSSE3
boolarch/Config.in.x86 +4
-0+config BR2_X86_CPU_HAS_SSE4 + bool +config BR2_X86_CPU_HAS_SSE42 + boolSince nobody selects these symbols, this patch just adds dead code, right?
Yes, for now it does. I was expecting to see a followup patch adding new CPUs. I have sse4 on my laptop atleast:
egrep 'name|sse4' /proc/cpuinfo|head -n 2
model name : Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
Signature · 1 line
Bye, Peter Korsgaard