From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f173.google.com (mail-wj0-f173.google.com [209.85.210.173]) by dpdk.org (Postfix) with ESMTP id 3D66947D1 for ; Mon, 5 Dec 2016 16:59:38 +0100 (CET) Received: by mail-wj0-f173.google.com with SMTP id tg4so39164074wjb.1 for ; Mon, 05 Dec 2016 07:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding; bh=aZnsoF9p2ZJQEZ6ZoL/Y4E3uo9lDeDGu0/37wjuPiU4=; b=swUhWwsyDF6Doh4XFZjzAcY8X39hArHyhbLiWXEy/vtr+18C52PLMaMeAY+9rVebLa VHwqt5itMb3FOEbY906oWpvEaT9GIogLd/uVpIdQU4oTvXs+CqkLGb3qq+DTAL2CEDbi oxH2O1vYEF+eWl7D50F4d3Udv8obkjYqJIflMD0QZ5gaMnqB8vk8You8ktbRWRCT9F5g vGlL8ikPpdjQMR4MArQguvKRXv3Kbu1umbBS448dNaj0HwGiQPWGLC5ESUXBHDxr/5Nz CmnLC92THyAGUFvuQWhwY9Zm0+ydlo7n8WpjW9fxCMH3HrqBhXiO0Mkzg4KLfcy/lcUX WdjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=aZnsoF9p2ZJQEZ6ZoL/Y4E3uo9lDeDGu0/37wjuPiU4=; b=M/ATMZBAsbDM7KVj26hqLYNjIyS/6HQyf5fh21anvj0saCjiY14zqOpYK2dpcwxlRF Rl/AKlhFnIrqwrMXlhVXREmF2hOKPJlrNWcwaETQwaTlheNL9wRft3355pduEw2mch8R sSnFydqQydGdjfwzi7f3wMQSKI50lSarXVkgVY8Tn2qWjYUAATasH/27zaTdNE2GA2vL Gm3/m9C7PMVVg4XETXf8of/qePREt94XZPzbsHrkhbZIbN505dD1QHSKYP4fjd9DUJ6K SgvMEkhvGrOeFB15uCWOntEHF10+QZT47DHhZjaE+VLsXEJ0gniHZC5i1EkhnEoi9Kh+ M3vw== X-Gm-Message-State: AKaTC00O4K5e/KEN17/AQ4xX8a1au+xXEdIJujn3hYkUXNSjZZqyi0X4pknb5besxo5PZhsS X-Received: by 10.194.115.132 with SMTP id jo4mr51880913wjb.27.1480953577636; Mon, 05 Dec 2016 07:59:37 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id vr9sm21032840wjc.35.2016.12.05.07.59.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Dec 2016 07:59:36 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Mon, 05 Dec 2016 16:59:36 +0100 Message-ID: <2241188.EjHfKBdCQS@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1480952058-13591-1-git-send-email-thomas.monjalon@6wind.com> References: <1480952058-13591-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] use generated flags for SSE and AVX checks X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2016 15:59:38 -0000 2016-12-05 16:34, Thomas Monjalon: > Clean up the code to always use the flags RTE_MACHINE_CPUFLAG_* > generated by the DPDK makefile rte.cpuflags.mk. This patch does not work because RTE_MACHINE_CPUFLAG_* are generated for the whole library when including rte.vars.mk. So the flags are not accurate when overriding the flags per file like it is done in rte_acl. So the questions are: - should we use RTE_MACHINE_CPUFLAG_? - should we override the flags per file? - will we be able to use the function attribute __target__?