[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr80170.c
blobdef051a59df9b7e7a37c8fe8d1a2a6269909d944
1 /* { dg-do run } */
2 /* { dg-options "-fgimple -O2 -ftree-slp-vectorize" } */
3 /* { dg-require-effective-target ptr32plus } */
5 struct A
7 void * a;
8 void * b;
9 };
11 struct __attribute__((aligned(16))) B
13 void * pad;
14 void * misaligned;
15 void * pad2;
17 struct A a;
20 __attribute__((noclone, noinline))
21 void __GIMPLE (startwith("slp"))
22 NullB (void * misalignedPtr)
24 struct B * b;
26 bb_2:
27 #if __SIZEOF_LONG__ == 8
28 b_2 = misalignedPtr_1(D) + 18446744073709551608ul;
29 #else
30 b_2 = misalignedPtr_1(D) + 4294967292ul;
31 #endif
32 __MEM <struct B> (b_2).a.a = _Literal (void *) 0;
33 __MEM <struct B> (b_2).a.b = _Literal (void *) 0;
34 return;
38 int main()
40 struct B b;
41 NullB (&b.misaligned);
42 return 0;