Skip to content

view.AtomicKind enum

← Attribute reference

Read-modify-write operation kind supported by view and vector atomics.

Cases

Keyword Value Description
xchgi 0 Integer exchange.
xchgf 1 Floating-point exchange.
addi 2 Integer addition.
addf 3 Floating-point addition.
subi 4 Integer subtraction.
andi 5 Bitwise AND.
ori 6 Bitwise OR.
xori 7 Bitwise XOR.
minsi 8 Signed integer minimum.
maxsi 9 Signed integer maximum.
minui 10 Unsigned integer minimum.
maxui 11 Unsigned integer maximum.
minimumf 12 IEEE 754 floating-point minimum.
maximumf 13 IEEE 754 floating-point maximum.
minnumf 14 C99 fmin-style floating-point minimum.
maxnumf 15 C99 fmax-style floating-point maximum.

Used by

  • view.atomic.reduce.kind
  • view.atomic.rmw.kind