drd/tests/swapcontext: Improve the portability of this test further
[valgrind.git] / none / tests / ppc32 / bug129390-ppc32.c
blobe83aafe8ac5e0e419fb9cf7123c3076c9f7f4210
2 #include <stdio.h>
4 int main ( void )
6 printf("vmxcache: start\n");
7 __asm__ __volatile__(
8 "dss 0\n\t"
9 "dss 1\n\t"
10 "dss 2\n\t"
11 "dss 3\n\t"
12 "dssall\n\t"
14 "dst 0,0,0\n\t"
15 "dst 0,0,3\n\t"
16 "dst 0,31,0\n\t"
17 "dst 0,31,3\n\t"
18 "dst 31,0,0\n\t"
19 "dst 31,0,3\n\t"
20 "dst 31,31,0\n\t"
21 "dst 31,31,3\n\t"
23 "dstt 0,0,0\n\t"
24 "dstt 0,0,3\n\t"
25 "dstt 0,31,0\n\t"
26 "dstt 0,31,3\n\t"
27 "dstt 31,0,0\n\t"
28 "dstt 31,0,3\n\t"
29 "dstt 31,31,0\n\t"
30 "dstt 31,31,3\n\t"
32 "dstst 0,0,0\n\t"
33 "dstst 0,0,3\n\t"
34 "dstst 0,31,0\n\t"
35 "dstst 0,31,3\n\t"
36 "dstst 31,0,0\n\t"
37 "dstst 31,0,3\n\t"
38 "dstst 31,31,0\n\t"
39 "dstst 31,31,3\n\t"
41 "dststt 0,0,0\n\t"
42 "dststt 0,0,3\n\t"
43 "dststt 0,31,0\n\t"
44 "dststt 0,31,3\n\t"
45 "dststt 31,0,0\n\t"
46 "dststt 31,0,3\n\t"
47 "dststt 31,31,0\n\t"
48 "dststt 31,31,3\n\t"
50 printf("vmxcache: done\n");
51 return 0;