"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "runtime/druntime/src/core/simd.d" between
ldc-1.32.0.tar.gz and ldc-1.32.1.tar.gz

About: LDC is a LLVM-based D compiler.

simd.d  (ldc-1.32.0):simd.d  (ldc-1.32.1)
skipping to change at line 42 skipping to change at line 42
template Vector(T) template Vector(T)
{ {
/* __vector is compiler magic, hide it behind a template. /* __vector is compiler magic, hide it behind a template.
* The compiler will reject T's that don't work. * The compiler will reject T's that don't work.
*/ */
alias __vector(T) Vector; alias __vector(T) Vector;
} }
/* Handy aliases /* Handy aliases
*/ */
version (LDC)
{
static if (is(Vector!(void[4]))) alias Vector!(void[4]) void4; ///
static if (is(Vector!(byte[4]))) alias Vector!(byte[4]) byte4; ///
static if (is(Vector!(ubyte[4]))) alias Vector!(ubyte[4]) ubyte4; ///
static if (is(Vector!(short[2]))) alias Vector!(short[2]) short2; ///
static if (is(Vector!(ushort[2]))) alias Vector!(ushort[2]) ushort2; ///
}
static if (is(Vector!(void[8]))) alias Vector!(void[8]) void8; /// static if (is(Vector!(void[8]))) alias Vector!(void[8]) void8; ///
static if (is(Vector!(double[1]))) alias Vector!(double[1]) double1; /// static if (is(Vector!(double[1]))) alias Vector!(double[1]) double1; ///
static if (is(Vector!(float[2]))) alias Vector!(float[2]) float2; /// static if (is(Vector!(float[2]))) alias Vector!(float[2]) float2; ///
static if (is(Vector!(byte[8]))) alias Vector!(byte[8]) byte8; /// static if (is(Vector!(byte[8]))) alias Vector!(byte[8]) byte8; ///
static if (is(Vector!(ubyte[8]))) alias Vector!(ubyte[8]) ubyte8; /// static if (is(Vector!(ubyte[8]))) alias Vector!(ubyte[8]) ubyte8; ///
static if (is(Vector!(short[4]))) alias Vector!(short[4]) short4; /// static if (is(Vector!(short[4]))) alias Vector!(short[4]) short4; ///
static if (is(Vector!(ushort[4]))) alias Vector!(ushort[4]) ushort4; /// static if (is(Vector!(ushort[4]))) alias Vector!(ushort[4]) ushort4; ///
static if (is(Vector!(int[2]))) alias Vector!(int[2]) int2; /// static if (is(Vector!(int[2]))) alias Vector!(int[2]) int2; ///
static if (is(Vector!(uint[2]))) alias Vector!(uint[2]) uint2; /// static if (is(Vector!(uint[2]))) alias Vector!(uint[2]) uint2; ///
static if (is(Vector!(long[1]))) alias Vector!(long[1]) long1; /// static if (is(Vector!(long[1]))) alias Vector!(long[1]) long1; ///
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)