]>
Commit | Line | Data |
---|---|---|
1 | /* Test AAPCS64 layout. | |
2 | ||
3 | Test 64-bit singleton vector types which should be in FP/SIMD registers. */ | |
4 | ||
5 | /* { dg-do run { target aarch64*-*-* } } */ | |
6 | /* { dg-additional-options "-mbranch-protection=none" } */ | |
7 | /* { dg-additional-sources "abitest.S" } */ | |
8 | ||
9 | #ifndef IN_FRAMEWORK | |
10 | #define TESTFILE "func-ret-64x1_1.c" | |
11 | #include <arm_neon.h> | |
12 | #include "abitest-2.h" | |
13 | #else | |
14 | FUNC_VAL_CHECK ( 0, float64x1_t, (float64x1_t) {123456.789}, D0, flat) | |
15 | FUNC_VAL_CHECK ( 1, int64x1_t, (int64x1_t) {0xdeadbeefcafebabeLL}, D0, flat) | |
16 | FUNC_VAL_CHECK ( 2, uint64x1_t, (uint64x1_t) {0xaaaabbbbccccddddULL}, D0, flat) | |
17 | #endif | |
18 |