osd: Make preprocessor usage a bit more consistent in inline utilties for PPC/ARM.

This commit is contained in:
Vas Crabb 2021-01-18 01:54:37 +11:00
parent 6e1bbe8be8
commit 255d4e7787
2 changed files with 4 additions and 4 deletions

View File

@ -204,7 +204,7 @@ _recip_approx(float value)
multiply and return the full 128 bit result
-------------------------------------------------*/
#ifdef __aarch64__
#if defined(__aarch64__)
#define mul_64x64 _mul_64x64
inline int64_t ATTR_FORCE_INLINE
_mul_64x64(int64_t a, int64_t b, int64_t &hi)
@ -221,7 +221,7 @@ _mul_64x64(int64_t a, int64_t b, int64_t &hi)
bit multiply and return the full 128 bit result
-------------------------------------------------*/
#ifdef __aarch64__
#if defined(__aarch64__)
#define mulu_64x64 _mulu_64x64
inline uint64_t ATTR_FORCE_INLINE
_mulu_64x64(uint64_t a, uint64_t b, uint64_t &hi)

View File

@ -204,7 +204,7 @@ _recip_approx(float value)
multiply and return the full 128 bit result
-------------------------------------------------*/
#ifdef __ppc64__
#if defined(__ppc64__)
#define mul_64x64 _mul_64x64
inline int64_t ATTR_FORCE_INLINE
_mul_64x64(int64_t a, int64_t b, int64_t &hi)
@ -221,7 +221,7 @@ _mul_64x64(int64_t a, int64_t b, int64_t &hi)
bit multiply and return the full 128 bit result
-------------------------------------------------*/
#ifdef __ppc64__
#if defined(__ppc64__)
#define mulu_64x64 _mulu_64x64
inline uint64_t ATTR_FORCE_INLINE
_mulu_64x64(uint64_t a, uint64_t b, uint64_t &hi)