MySQL 8.0.40
Source Code Documentation
hardware::use_pclmul Struct Reference

Implementation of polynomial_mul_rev<w>(rev_u) function which uses hardware accelerated polynomial multiplication to compute rev(w*u), where rev_u=rev(u). More...

Inheritance diagram for hardware::use_pclmul:
[legend]

Static Public Member Functions

template<uint32_t w>
static uint64_t polynomial_mul_rev (uint32_t rev_u)
 
- Static Public Member Functions inherited from hardware::crc32_impl
static uint32_t update (uint32_t crc, unsigned char data)
 
static uint32_t update (uint32_t crc, uint16_t data)
 
static uint32_t update (uint32_t crc, uint32_t data)
 
static uint64_t update (uint64_t crc, uint64_t data)
 

Detailed Description

Implementation of polynomial_mul_rev<w>(rev_u) function which uses hardware accelerated polynomial multiplication to compute rev(w*u), where rev_u=rev(u).

This is accomplished by using rev_u * flip_at_32(w),

See also
flip_at_32 for explanation why it works and why this is useful.

Member Function Documentation

◆ polynomial_mul_rev()

template<uint32_t w>
static uint64_t hardware::use_pclmul::polynomial_mul_rev ( uint32_t  rev_u)
inlinestatic

The documentation for this struct was generated from the following file: