search for: crc32be

Displaying 6 results from an estimated 6 matches for "crc32be".

2018 Nov 06
4
Rather poor code optimisation of current clang/LLVM targeting Intel x86 (both -64 and -32)
..." machine instructions for this expression, it fails to recognize other also common bit-twiddling idioms/expressions. The standard IEEE CRC-32 for "big endian" alias "network" byte order (see <https://tools.ietf.org/html/rfc1952#section-8> for example): unsigned int crc32be(unsigned char const *octets, unsigned int count) { unsigned int crc = 0L; unsigned int i; while (count--) { crc ^= *octets++ << 24; for (i = 8; i > 0; i--) if (crc & 0x80000000L) // the code generated crc <<= 1,...
2018 Nov 27
2
Rather poor code optimisation of current clang/LLVM targeting Intel x86 (both -64 and -32)
...fails to recognize other also common bit-twiddling >> idioms/expressions. >> >> The standard IEEE CRC-32 for "big endian" alias "network" byte order >> (see <https://tools.ietf.org/html/rfc1952#section-8> for example): >> >> unsigned int crc32be(unsigned char const *octets, unsigned int count) >> { >> unsigned int crc = 0L; >> unsigned int i; >> >> while (count--) { >> crc ^= *octets++ << 24; >> for (i = 8; i > 0; i--) >> if (crc & 0x800000...
2018 Nov 28
2
Rather poor code optimisation of current clang/LLVM targeting Intel x86 (both -64 and -32)
...;> >> idioms/expressions. >> >> >> >> The standard IEEE CRC-32 for "big endian" alias "network" byte order >> >> (see <https://tools.ietf.org/html/rfc1952#section-8> for example): >> >> >> >> unsigned int crc32be(unsigned char const *octets, unsigned int count) >> >> { >> >> unsigned int crc = 0L; >> >> unsigned int i; >> >> >> >> while (count--) { >> >> crc ^= *octets++ << 24; >> >> for (i...
2020 Feb 11
0
vhost changes (batched) in linux-next after 12/13 trigger random crashes in KVM guests after reboot
...9, 2097152 bytes, vmalloc) [ 2.462534] UDP-Lite hash table entries: 65536 (order: 9, 2097152 bytes, vmalloc) [ 2.463929] NET: Registered protocol family 1 [ 2.464136] Trying to unpack rootfs image as initramfs... [ 3.031779] Freeing initrd memory: 43772K [ 3.032996] alg: No test for crc32be (crc32be-vx) [ 3.037140] Initialise system trusted keyrings [ 3.037188] workingset: timestamp_bits=42 max_order=25 bucket_order=0 [ 3.038293] fuse: init (API version 7.31) [ 3.038367] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled [ 3.046520] Key type asymm...
2020 Feb 07
16
vhost changes (batched) in linux-next after 12/13 trigger random crashes in KVM guests after reboot
On Fri, Feb 07, 2020 at 08:47:14AM +0100, Christian Borntraeger wrote: > Also adding Cornelia. > > > On 06.02.20 23:17, Michael S. Tsirkin wrote: > > On Thu, Feb 06, 2020 at 04:12:21PM +0100, Christian Borntraeger wrote: > >> > >> > >> On 06.02.20 15:22, eperezma at redhat.com wrote: > >>> Hi Christian. > >>> > >>>
2020 Feb 07
16
vhost changes (batched) in linux-next after 12/13 trigger random crashes in KVM guests after reboot
On Fri, Feb 07, 2020 at 08:47:14AM +0100, Christian Borntraeger wrote: > Also adding Cornelia. > > > On 06.02.20 23:17, Michael S. Tsirkin wrote: > > On Thu, Feb 06, 2020 at 04:12:21PM +0100, Christian Borntraeger wrote: > >> > >> > >> On 06.02.20 15:22, eperezma at redhat.com wrote: > >>> Hi Christian. > >>> > >>>