Skip to content

add portable version of __builtin_add_overflow

Andre Muezerie dpdk-dev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 6 repliesIn review
  2. v45 patches 2 repliesSuperseded
  3. v35 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches5 repliesSuperseded
v15 patches5 repliesSuperseded

Changes in v5 from the cover letter

- Combined patches 1 with 5 and 2 with 3.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eal: add portable version of __builtin_add_overflowdoc/api/doxy-api-index.md lib/eal/include/meson.build lib/eal/include/rte_math.h+48 -00 replies
2/3net/intel: use portable version of __builtin_add_overflowdrivers/net/intel/ice/base/ice_osdep.h+5 -01 reply
3/3app/test: add tests for portable version of __builtin_add_overflowMAINTAINERS app/test/meson.build app/test/test_math.c+172 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBruce Richardson
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/3] add portable version of __builtin_add_overflow

__builtin_add_overflow is gcc specific. There's a need for a portable version that can also be used with other compilers.

v5:
- Combined patches 1 with 5 and 2 with 3.

v4:
- Added define in ice_osdep.h to use portable version of __builtin_add_overflow when using MSVC.
- Undid all changes from drivers/net/intel/ice/base/ice_nvm.c.

v3:
- Rebase on top of latest main.

Andre Muezerie (3):
eal: add portable version of __builtin_add_overflow net/intel: use portable version of __builtin_add_overflow app/test: add tests for portable version of __builtin_add_overflow

 MAINTAINERS                            |   1 +
 app/test/meson.build                   |   1 +
 app/test/test_math.c                   | 170 +++++++++++++++++++++++++
 doc/api/doxy-api-index.md              |   1 +
 drivers/net/intel/ice/base/ice_osdep.h |   5 +
 lib/eal/include/meson.build            |   1 +
 lib/eal/include/rte_math.h             |  46 +++++++
 7 files changed, 225 insertions(+)
 create mode 100644 app/test/test_math.c
 create mode 100644 lib/eal/include/rte_math.h

--
2.48.1.vfs.0.1