Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / i386 / cmov4.c
blobe293b34abc175c574e9dc6f23ce20fbe87fc6ea1
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=k8" } */
3 /* { dg-final { scan-assembler "cmov" } } */
5 /* Verify that if conversion happends for memory references. */
6 int ARCHnodes;
7 int *nodekind;
8 float *nodekindf;
9 t()
11 int i;
12 /* Redefine nodekind to be 1 for all surface nodes */
14 for (i = 0; i < ARCHnodes; i++) {
15 nodekind[i] = (int) nodekindf[i];
16 if (nodekind[i] == 3)
17 nodekind[i] = 1;