openMSX
Macros | Functions | Variables
aligned.hh File Reference
#include "inline.hh"
#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 71 of file aligned.hh.

◆ ALIGNAS_SSE

#define ALIGNAS_SSE   /*nothing*/

Definition at line 24 of file aligned.hh.

◆ GNUC_PREREQ

#define GNUC_PREREQ (   maj,
  min 
)    0

Definition at line 79 of file aligned.hh.

Function Documentation

◆ unalignedLoad16()

ALWAYS_INLINE uint16_t unalignedLoad16 ( const void *  p)

Definition at line 39 of file aligned.hh.

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

◆ unalignedLoad32()

ALWAYS_INLINE uint32_t unalignedLoad32 ( const void *  p)

◆ unalignedLoad64()

ALWAYS_INLINE uint64_t unalignedLoad64 ( const void *  p)

Definition at line 45 of file aligned.hh.

Referenced by Load64::operator()().

◆ unalignedStore16()

ALWAYS_INLINE void unalignedStore16 ( void *  p,
uint16_t  v 
)

Definition at line 48 of file aligned.hh.

◆ unalignedStore32()

ALWAYS_INLINE void unalignedStore32 ( void *  p,
uint32_t  v 
)

Definition at line 51 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 54 of file aligned.hh.

Variable Documentation

◆ SSE_ALIGNMENT

constexpr size_t SSE_ALIGNMENT = 0
constexpr

Definition at line 13 of file aligned.hh.