View source code
Display the source code in core/simd.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Enum core.simd.XMM

XMM opcodes that conform to the following:

enum XMM : int { ... }

opcode xmm1,xmm2/mem

and do not have side effects (i.e. do not write to memory).

Enum members

NameDescription

Example

float4 a;
a = cast(float4)__simd(XMM.PXOR, a, a);

Example

float4 a;
a = cast(float4)__simd(XMM.LODSS, a);

Example

float4 a;
a = cast(float4)__simd(XMM.CMPPD, a, a, 0x7A);

Example

float4 a;
a = cast(float4) __simd_ib(XMM.PSRLQ, a, 0x7A);

Example

void16 a;
float f = 1;
double d = 1;

cast(void)__simd_sto(XMM.STOUPS, a, a);
cast(void)__simd_sto(XMM.STOUPS, f, a);
cast(void)__simd_sto(XMM.STOUPS, d, a);

Authors

Walter Bright,

License

Boost License 1.0.