Debian Codegraph @

gcc/testsuite/gcc.target/i386/sse2-v1ti-mov-2.c

raw
1 /* { dg-do compile { target int128 } } */
2 /* { dg-options "-O2 -msse2" } */
3
4 typedef unsigned __int128 uv1ti __attribute__ ((__vector_size__ (16)));
5 typedef unsigned long uv2di __attribute__ ((__vector_size__ (16)));
6 typedef unsigned int uv4si __attribute__ ((__vector_size__ (16)));
7 typedef unsigned short uv8hi __attribute__ ((__vector_size__ (16)));
8 typedef unsigned char uv16qi __attribute__ ((__vector_size__ (16)));
9
10 uv1ti foo1(__int128 x) { return (uv1ti)x; }
11 uv2di foo2(__int128 x) { return (uv2di)x; }
12 uv4si foo4(__int128 x) { return (uv4si)x; }
13 uv8hi foo8(__int128 x) { return (uv8hi)x; }
14 uv16qi foo16(__int128 x) { return (uv16qi)x; }
15
16 /* { dg-final { scan-assembler-not "%\[er\]sp" } } */