MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
ScrutLaneCfg Struct Reference

Arguments for the lane calls. More...

#include <verbum_scrutor.h>

Data Fields

const embed_word word
const embed_word val
const embed_word mask
const uint8_t byte
const uint8_t fam
const embed_bool ci

Detailed Description

Arguments for the lane calls.

Note
ge, le and sub7 read word and byte. eq adds ci. xor_ reads word, val and ci. fam_eq adds fam.
has_zero, alpha, any_upper and any_digit read word alone.
count, first and last read mask alone.

Definition at line 106 of file verbum_scrutor.h.

Field Documentation

◆ word

const embed_word ScrutLaneCfg::word

The MMGR_SWAR_BYTES bytes under test, one per lane.

Definition at line 108 of file verbum_scrutor.h.

◆ val

const embed_word ScrutLaneCfg::val

Whole word xor_ compares against, which the caller broadcasts itself.

Definition at line 109 of file verbum_scrutor.h.

◆ mask

const embed_word ScrutLaneCfg::mask

Lane mask the three index calls read.

Definition at line 110 of file verbum_scrutor.h.

◆ byte

const uint8_t ScrutLaneCfg::byte

Byte the call broadcasts into every lane before comparing.

Definition at line 111 of file verbum_scrutor.h.

◆ fam

const uint8_t ScrutLaneCfg::fam

Bits fam_eq keeps on both sides before comparing.

Definition at line 112 of file verbum_scrutor.h.

◆ ci

const embed_bool ScrutLaneCfg::ci

Non-zero to let a letter match either case.

Definition at line 113 of file verbum_scrutor.h.


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