Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/acle/crc32d.c

raw
1 /* Test the crc32d ACLE intrinsic. */
2
3 /* { dg-do assemble } */
4 /* { dg-options "-save-temps -O2 -march=armv8-a+crc" } */
5
6 #include "arm_acle.h"
7
8 uint32_t
9 test_crc32d (uint32_t arg0, uint64_t arg1)
10 {
11 return __crc32d (arg0, arg1);
12 }
13
14 /* { dg-final { scan-assembler "crc32x\tw..?, w..?, x..?\n" } } */