DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/1] RFC: remove build-type CPU flag macros
@ 2020-08-05 14:21 Bruce Richardson
  2020-08-05 14:21 ` [dpdk-dev] [PATCH 1/1] doc: add deprecation notice for CPU build flags Bruce Richardson
  0 siblings, 1 reply; 11+ messages in thread
From: Bruce Richardson @ 2020-08-05 14:21 UTC (permalink / raw)
  To: dev; +Cc: techboard, Bruce Richardson

I DPDK as part of our build on all architectures, we define a set of
RTE_MACHINE_CPUFLAG values which are then used in the code. However, as
best I can see, each of these macros just duplicates a shorter macro
provided by the compiler, e.g. RTE_MACHINE_CPUFLAG_SSE3 == __SSE3__,
RTE_MACHINE_CPUFLAG_ALTIVEC == __ALTIVEC__, etc.

Therefore, I propose we remove these macros in 20.11 and just use the
compiler provided ones directly. As such, I'm including a deprecation
notice patch for this change. Please review and ack the deprecation notice
if you approve.

Thanks.

Bruce Richardson (1):
  doc: add deprecation notice for CPU build flags

 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.25.1


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

end of thread, other threads:[~2020-08-07 13:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 14:21 [dpdk-dev] [PATCH 0/1] RFC: remove build-type CPU flag macros Bruce Richardson
2020-08-05 14:21 ` [dpdk-dev] [PATCH 1/1] doc: add deprecation notice for CPU build flags Bruce Richardson
2020-08-05 14:23   ` Jerin Jacob
2020-08-05 14:57   ` [dpdk-dev] [dpdk-techboard] " Thomas Monjalon
2020-08-05 15:07     ` Bruce Richardson
2020-08-05 15:15       ` Thomas Monjalon
2020-08-05 16:45         ` Bruce Richardson
2020-08-05 17:02           ` Thomas Monjalon
2020-08-06 16:01             ` Thomas Monjalon
2020-08-06 21:41           ` Ferruh Yigit
2020-08-07 13:48             ` Thomas Monjalon

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git