gcc/testsuite/gcc.target/aarch64/acle/crc32b.c
raw| 1 | /* Test the crc32b 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_crc32b (uint32_t arg0, uint8_t arg1) |
| 10 | { |
| 11 | return __crc32b (arg0, arg1); |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-assembler "crc32b\tw..?, w..?, w..?\n" } } */ |