Displaying 8 results from an estimated 8 matches for "__builtin_bswap32".
2012 Feb 05
3
Please test new endian stuff
Hi all,
I've just pushed some changes to git repo that changes the way endian
swapping is done. In particular it does:
a) On Linux, use the bswap_*() intrinsic.
b) On Windows _byteswap_*() intrinsic.
c) Falls back to a macro for everything else.
I've tested this on 64 bit little endian Linux (x86_64) and 32 bit
bug endian Linux (powerpc).
Needs testing elsewhere.
Cheers,
Erik
2010 Aug 30
2
[LLVMdev] llvmgcc-4.2 llvmg++-4.2 on OS X -- missing GCC __builtin intrinsics
I've had good luck using the llvm-gcc & llvm-g++ on small projects,
but I just discovered that it's apparently missing some of the GCC
intrinsic functions -- specifically, when I try and compile VXL
(http://vxl.sourceforge.net) it dies when it encounters
__builtin_bswap32 .
This is on OS X with the llvm-gcc-4.2 & llvm_g++-42 that are part of
the XCode 3.2.3
I don't know if this was the LLVM-GCC developer's oversight or Apple's
but it keeps me from using llvm-gcc as my default compiler.
2020 Jul 16
0
[PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code
...its' has no member named 'uid'
135 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^~~~~~~~~~~~~~~~~~
include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32'
115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x))
| ^
include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32'
94 | #define cpu_to_be32 __cpu_to_be32
| ^~~~~~~~~~~~~
include/linux/stddef.h:17:32: no...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...has no member named 'list_q_type'
135 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^~~~~~~~~~~~~~~~~~
include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32'
115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x))
| ^
include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32'
94 | #define cpu_to_be32 __cpu_to_be32
| ^~~~~~~~~~~~~
include/linux/stddef.h:17:32: no...
2010 Aug 30
0
[LLVMdev] llvmgcc-4.2 llvmg++-4.2 on OS X -- missing GCC __builtin intrinsics
...uncan.
> I've had good luck using the llvm-gcc& llvm-g++ on small projects,
> but I just discovered that it's apparently missing some of the GCC
> intrinsic functions -- specifically, when I try and compile VXL
> (http://vxl.sourceforge.net) it dies when it encounters
> __builtin_bswap32 .
>
> This is on OS X with the llvm-gcc-4.2& llvm_g++-42 that are part of
> the XCode 3.2.3
>
> I don't know if this was the LLVM-GCC developer's oversight or Apple's
> but it keeps me from using llvm-gcc as my default compiler.
> ____________________________...
2020 Aug 05
0
[PATCH V4 linux-next 00/12] VDPA support for Mellanox ConnectX devices
..._virtio_emulation_cap_bits? has no member named ?event_mode?
129 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^~~~~~~~~~~~~~~~~~
./include/uapi/linux/swab.h:115:54: note: in definition of macro ?__swab32?
115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x))
| ^
./include/linux/byteorder/generic.h:95:21: note: in expansion of macro ?__be32_to_cpu?
95 | #define be32_to_cpu __be32_to_cpu
| ^~~~~~~~~~~~~
./include/linux/stddef.h:17:32: note: in expansion of...
2020 Aug 05
0
[PATCH V4 linux-next 00/12] VDPA support for Mellanox ConnectX devices
...r named ?event_mode?
> > 129 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
> > | ^~~~~~~~~~~~~~~~~~
> > ./include/uapi/linux/swab.h:115:54: note: in definition of macro ?__swab32?
> > 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x))
> > | ^
> > ./include/linux/byteorder/generic.h:95:21: note: in expansion of macro ?__be32_to_cpu?
> > 95 | #define be32_to_cpu __be32_to_cpu
> > | ^~~~~~~~~~~~~
> > ./i...
2015 Feb 07
5
[LLVMdev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2
...uot;" -D
STDC_HEADERS=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D
HAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -D HAVE_MEMORY_H=1 -D
HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1 -D
HAVE_UNISTD_H=1 -D HAVE_DLFCN_H=1 -D "LT_OBJDIR=\".libs/\"" -D
YYTEXT_POINTER=1 -D HAVE___BUILTIN_BSWAP32=1 -D
HAVE___BUILTIN_BSWAP64=1 -D HAVE___BUILTIN_CLZ=1 -D
HAVE___BUILTIN_CLZLL=1 -D HAVE___BUILTIN_CTZ=1 -D
HAVE___BUILTIN_EXPECT=1 -D HAVE___BUILTIN_FFS=1 -D
HAVE___BUILTIN_FFSLL=1 -D HAVE___BUILTIN_POPCOUNT=1 -D
HAVE___BUILTIN_POPCOUNTLL=1 -D HAVE___BUILTIN_UNREACHABLE=1 -D
HAVE_DLADDR=1 -D HAVE_P...