Debian Codegraph @

gcc/testsuite/g++.dg/abi/mangle-arm-crypto.C

raw
1 // Test that ARM NEON types used by the Cryptograpy Extensions
2 // have their names mangled correctly.
3
4 // { dg-do compile }
5 // { dg-require-effective-target arm_crypto_ok }
6 // { dg-add-options arm_crypto }
7 // { dg-additional-options -fabi-compat-version=0 }
8
9 #include <arm_neon.h>
10
11 void f0 (poly64_t a) {}
12 void f1 (poly128_t a) {}
13 void f2 (poly64x2_t a) {}
14
15 // { dg-final { scan-assembler "_Z2f0y:" } }
16 // { dg-final { scan-assembler "_Z2f1o:" } }
17 // { dg-final { scan-assembler "_Z2f2Dv2_y:" } }