DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: disable AVX512 with MinGW
@ 2021-02-02  9:06 Leyi Rong
  2021-02-02  9:30 ` Thomas Monjalon
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Leyi Rong @ 2021-02-02  9:06 UTC (permalink / raw)
  To: david.marchand, qi.z.zhang, ferruh.yigit, thomas,
	bruce.richardson, talshn, pallavi.kadam, ranjit.menon,
	beilei.xing, aconole
  Cc: dev, ci, Leyi Rong

Disable i40e AVX512 code path for Windows build regardless of CPU
capability to avoid the MinGW build error:
	Error: invalid register for .seh_savexmm

Signed-off-by: Leyi Rong <leyi.rong@intel.com>
---
 drivers/net/i40e/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
index f5fc5a17e..26cd201ee 100644
--- a/drivers/net/i40e/meson.build
+++ b/drivers/net/i40e/meson.build
@@ -56,6 +56,7 @@ if arch_subdir == 'x86'
 
 	if is_windows and cc.get_id() != 'clang'
 		i40e_avx512_cc_support = false
+		i40e_avx512_cpu_support = false
 	endif
 
 	if i40e_avx512_cpu_support == true or i40e_avx512_cc_support == true
-- 
2.17.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-02-04 21:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02  9:06 [dpdk-dev] [PATCH] net/i40e: disable AVX512 with MinGW Leyi Rong
2021-02-02  9:30 ` Thomas Monjalon
2021-02-02 10:24 ` Bruce Richardson
2021-02-02 14:13   ` Tal Shnaiderman
2021-02-02 14:31     ` Rong, Leyi
2021-02-02 14:32 ` [dpdk-dev] [PATCH v2] net/i40e: fix avx code error on MinGW Leyi Rong
2021-02-02 23:07   ` Dmitry Kozlyuk
2021-02-04 10:41     ` Zhang, Qi Z
2021-02-04 12:36       ` Ferruh Yigit
2021-02-04 12:59         ` Thomas Monjalon
2021-02-04 13:43         ` David Marchand
2021-02-04 21:57           ` [dpdk-dev] [dpdk-ci] " Lincoln Lavoie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).