| 9290f8be | 22-Aug-2023 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
eal: use stdatomic qualifier where needed
Introduce __rte_atomic qualifying casts in rte_optional atomics inline functions to prevent cascading the need to pass __rte_atomic qualified arguments.
Wa
eal: use stdatomic qualifier where needed
Introduce __rte_atomic qualifying casts in rte_optional atomics inline functions to prevent cascading the need to pass __rte_atomic qualified arguments.
Warning, this is really implementation dependent and being done temporarily to avoid having to convert more of the libraries and tests in DPDK in the initial series that introduces the API. The consequence of the assumption of the ABI of the types in question not being ``the same'' is only a risk that may be realized when enable_stdatomic=true.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Reviewed-by: Morten Brørup <mb@smartsharesystems.com> Acked-by: Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>
show more ...
|
| 86cefa79 | 11-Aug-2023 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
eal: hide vector types for MSVC
When compiling with MSVC don't expose typedefs based on GCC vector extensions.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <
eal: hide vector types for MSVC
When compiling with MSVC don't expose typedefs based on GCC vector extensions.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
| af80b4c4 | 11-Aug-2023 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
eal: default to little endian for MSVC
The MSVC compiler does not target big endian platforms so define little endian always.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by:
eal: default to little endian for MSVC
The MSVC compiler does not target big endian platforms so define little endian always.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com>
show more ...
|
| 16c7206c | 11-Aug-2023 |
Tyler Retzlaff <roretzla@linux.microsoft.com> |
eal: implement byte swap for MSVC
Inline assembly is not supported for MSVC x64 instead expand use _byteswap_u{ushort,ulong,uint64} intrinsics instead.
Signed-off-by: Tyler Retzlaff <roretzla@linux
eal: implement byte swap for MSVC
Inline assembly is not supported for MSVC x64 instead expand use _byteswap_u{ushort,ulong,uint64} intrinsics instead.
Signed-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com> Acked-by: Morten Brørup <mb@smartsharesystems.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|