1 // https://issues.dlang.org/show_bug.cgi?id=16488
2 // { dg-additional-options "-mavx" { target avx_runtime } }
3 // { dg-do run { target { avx_runtime || vect_sizes_16B_8B } } }
4 // { dg-skip-if "needs gcc/config.d" { ! d_runtime } }
7 void foo_byte16(byte t
, byte s
)
10 auto p
= cast(byte*)&f
;
15 void foo_ubyte16(ubyte t
, ubyte s
)
18 auto p
= cast(ubyte*)&f
;
24 void foo_short8(short t
, short s
)
27 auto p
= cast(short*)&f
;
32 void foo_ushort8(ushort t
, ushort s
)
35 auto p
= cast(ushort*)&f
;
41 void foo_int4(int t
, int s
)
44 auto p
= cast(int*)&f
;
49 void foo_uint4(uint t
, uint s
, uint u
)
52 auto p
= cast(uint*)&f
;
58 void foo_long2(long t
, long s
, long u
)
61 auto p
= cast(long*)&f
;
66 void foo_ulong2(ulong t
, ulong s
)
69 auto p
= cast(ulong*)&f
;
74 void foo_float4(float t
, float s
)
77 auto p
= cast(float*)&f
;
82 void foo_double2(double t
, double s
, double u
)
85 auto p
= cast(double*)&f
;
99 foo_uint4(5, 0x12345678, 22);
102 foo_ulong2(5, 0x12345678_87654321L);
105 foo_double2(5, -6, 2);