openMSX
Macros | Functions | Variables
aligned.hh File Reference
#include "inline.hh"
#include <bit>
#include <cstdint>
#include <cassert>
#include <cstring>
Include dependency graph for aligned.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALIGNAS_SSE   /*nothing*/
 
#define __has_builtin(x)   0
 
#define GNUC_PREREQ(maj, min)   0
 

Functions

ALWAYS_INLINE uint16_t unalignedLoad16 (const void *p)
 
ALWAYS_INLINE uint32_t unalignedLoad32 (const void *p)
 
ALWAYS_INLINE uint64_t unalignedLoad64 (const void *p)
 
ALWAYS_INLINE void unalignedStore16 (void *p, uint16_t v)
 
ALWAYS_INLINE void unalignedStore32 (void *p, uint32_t v)
 
ALWAYS_INLINE void unalignedStore64 (void *p, uint64_t v)
 

Variables

constexpr size_t SSE_ALIGNMENT = 0
 

Macro Definition Documentation

◆ __has_builtin

#define __has_builtin (   x)    0

Definition at line 73 of file aligned.hh.

◆ ALIGNAS_SSE

#define ALIGNAS_SSE   /*nothing*/

Definition at line 26 of file aligned.hh.

◆ GNUC_PREREQ

#define GNUC_PREREQ (   maj,
  min 
)    0

Definition at line 81 of file aligned.hh.

Function Documentation

◆ unalignedLoad16()

ALWAYS_INLINE uint16_t unalignedLoad16 ( const void *  p)

Definition at line 41 of file aligned.hh.

Referenced by LZ4::count(), and detail::Load16::operator()().

◆ unalignedLoad32()

ALWAYS_INLINE uint32_t unalignedLoad32 ( const void *  p)

◆ unalignedLoad64()

ALWAYS_INLINE uint64_t unalignedLoad64 ( const void *  p)

Definition at line 47 of file aligned.hh.

Referenced by detail::Load64::operator()().

◆ unalignedStore16()

ALWAYS_INLINE void unalignedStore16 ( void *  p,
uint16_t  v 
)

Definition at line 50 of file aligned.hh.

◆ unalignedStore32()

ALWAYS_INLINE void unalignedStore32 ( void *  p,
uint32_t  v 
)

Definition at line 53 of file aligned.hh.

Referenced by LZ4::compress_impl(), and LZ4::decompress().

◆ unalignedStore64()

ALWAYS_INLINE void unalignedStore64 ( void *  p,
uint64_t  v 
)

Definition at line 56 of file aligned.hh.

Variable Documentation

◆ SSE_ALIGNMENT

constexpr size_t SSE_ALIGNMENT = 0
inlineconstexpr

Definition at line 15 of file aligned.hh.