blob: 0f81e9aa587dce0986929e2ef719f07902a479af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* { dg-do assemble } */
/* { dg-options "-O2 -march=armv8-a+crc+crypto" } */
#include "arm_acle.h"
/* Make sure that 'crypto' is not required to compile an intrinsic
from arm_acle.h in a non-crypto function. Tests that arm_acle.h
properly clears the architectural features in its initial target
pragma. */
__attribute__ ((target ("+crc+nocrypto")))
int
foo (uint32_t a, uint8_t b)
{
return __crc32b (a, b);
}
|