Retro68/gcc/gcc/testsuite/gnat.dg/vect14.adb
2017-04-10 13:32:00 +02:00

25 lines
617 B
Ada

-- { dg-do compile { target i?86-*-* x86_64-*-* } }
-- { dg-options "-fdump-tree-optimized" }
with Interfaces;
with Unchecked_Conversion;
with GNAT.SSE.Vector_Types; use GNAT.SSE.Vector_Types;
procedure Vect14 is
Msk1 : constant := 16#000FFAFFFFFFFB3F#;
Msk2 : constant := 16#000FFDFFFC90FFFD#;
type Unsigned_64_Array_Type is array (1 .. 2) of Interfaces.Unsigned_64;
function Convert is new Unchecked_Conversion (Unsigned_64_Array_Type, M128i);
Sse2_Param_Mask : constant M128i := Convert ((Msk1, Msk2));
begin
null;
end;
-- { dg-final { scan-tree-dump-not "VIEW_CONVERT_EXPR" "optimized" } }