ignore(_none/_extrema)

Synopsis

Declared in <folly/algorithm/simd/Ignore.h>

struct ignore_extrema;

Description

tag types to be used in some simd operations.

They are used to indicate to the function that some of the elements in are garbage.

ignore_none indicates that the whole register is used. ignore_extrema.first, .last show how many elements are out of the data.

Example: register: [true, true, false, false, false, false, false, true] indexes [0, 1, 2, 3, 4, 5, 6, 7 ]

ignore_extrema{.first = 1, .last = 2} means that elements with indexes 0, 6, and 7 will be ignored (w/e that means for an operation)

Data Members

Name

Description

first

Number of elements to ignore at the start.

last

Number of elements to ignore at the end.

Created with MrDocs