]> git.droids-corp.org - dpdk.git/commit
eal/arm: inline 128-bit atomic compare exchange with GCC
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Fri, 5 Nov 2021 08:57:12 +0000 (14:27 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 11 Feb 2022 07:44:09 +0000 (08:44 +0100)
commit264ff3f250d51c99084495bea3ca329d2c995b79
treedb0a1864d0bfd2feb7a4b55c9199c7e6b27966db
parent1d1126ad436e8c7c015fb3f67ad3af05c3b397d5
eal/arm: inline 128-bit atomic compare exchange with GCC

GCC [1] now assigns even register pairs for CASP, the fix has also been
backported to all stable releases of older GCC versions.
Removing the manual register allocation allows GCC to inline the
functions and pick optimal registers for performing CASP.

1: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=563cc649beaf

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
lib/eal/arm/include/rte_atomic_64.h