gcc/testsuite/gcc.target/i386/memset-strategy-4.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -march=tigerlake" } */ |
| 3 | /* { dg-final { scan-assembler-not "jmp\tmemset" { target { ! ia32 } } } } */ |
| 4 | /* { dg-final { scan-assembler-not "call\tmemset" { target ia32 } } } */ |
| 5 | /* { dg-final { scan-assembler-not "rep stosb" } } */ |
| 6 | |
| 7 | typedef unsigned char e_u8; |
| 8 | |
| 9 | #define MAXBC 8 |
| 10 | |
| 11 | void MixColumn(e_u8 a[4][MAXBC], e_u8 BC) |
| 12 | { |
| 13 | int i, j; |
| 14 | |
| 15 | for(i = 0; i < 4; i++) |
| 16 | for(j = 0; j < BC; j++) a[i][j] = 1; |
| 17 | } |