Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.target/arm/mve/intrinsics/vgetq_lane_u8.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 /* { dg-skip-if "Incompatible float ABI" { *-*-* } { "-mfloat-abi=soft" } {""} } */ | |
2 /* { dg-require-effective-target arm_v8_1m_mve_ok } */ | |
3 /* { dg-add-options arm_v8_1m_mve } */ | |
4 /* { dg-additional-options "-O2" } */ | |
5 | |
6 #include "arm_mve.h" | |
7 | |
8 uint8_t | |
9 foo (uint8x16_t a) | |
10 { | |
11 return vgetq_lane_u8 (a, 0); | |
12 } | |
13 | |
14 /* { dg-final { scan-assembler "vmov.u8" } } */ | |
15 | |
16 uint8_t | |
17 foo1 (uint8x16_t a) | |
18 { | |
19 return vgetq_lane (a, 0); | |
20 } | |
21 | |
22 /* { dg-final { scan-assembler "vmov.u8" } } */ |