blob: c90fad9a7a6a14bd745f3e7abfee66327383ae5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Test the crc32d ACLE intrinsic. */
/* { dg-do assemble } */
/* { dg-require-effective-target arm_crc_ok } */
/* { dg-options "-save-temps -O0" } */
/* { dg-add-options arm_crc } */
#include "arm_acle.h"
void test_crc32d (void)
{
uint32_t out_uint32_t;
uint32_t arg0_uint32_t;
uint64_t arg1_uint64_t;
out_uint32_t = __crc32d (arg0_uint32_t, arg1_uint64_t);
}
/* { dg-final { scan-assembler-times "crc32w\t...?, ...?, ...?\n" 2 } } */
/* { dg-final { cleanup-saved-temps } } */
|