core.simd - D Programming Language - Digital Mars

D Programming Language 2.0

# core.simd

Builtin SIMD intrinsics

Source:
core/simd.d

License:
Boost License 1.0.

Authors:
Walter Bright,

template Vector(T)
  Create a vector type.

  Parameters:
  T = one of double[2], float[4], void[16], byte[16], ubyte[16], short[8], ushort[8], int[4], uint[4], long[2], ulong[2]. For 256 bit vectors, one of double[4], float[8], void[32], byte[32], ubyte[32], short[16], ushort[16], int[8], uint[8], long[4], ulong[4]

alias void16 = __vector(void[16u]);

alias double2 = __vector(double[2u]);

alias float4 = __vector(float[4u]);

alias byte16 = __vector(byte[16u]);

alias ubyte16 = __vector(ubyte[16u]);

alias short8 = __vector(short[8u]);

alias ushort8 = __vector(ushort[8u]);

alias int4 = __vector(int[4u]);

alias uint4 = __vector(uint[4u]);

alias long2 = __vector(long[2u]);

alias ulong2 = __vector(ulong[2u]);

alias void32 = __vector(void[32u]);

alias double4 = __vector(double[4u]);

alias float8 = __vector(float[8u]);

alias byte32 = __vector(byte[32u]);

alias ubyte32 = __vector(ubyte[32u]);

alias short16 = __vector(short[16u]);

alias ushort16 = __vector(ushort[16u]);

alias int8 = __vector(int[8u]);

alias uint8 = __vector(uint[8u]);

alias long4 = __vector(long[4u]);

alias ulong4 = __vector(ulong[4u]);

Copyright Digital Mars 2012. | Page generated by Ddoc.