Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.target/arm/mve/intrinsics/vshrnbq_n_s16.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
rev | line source |
---|---|
152 | 1 /* { dg-require-effective-target arm_v8_1m_mve_ok } */ |
2 /* { dg-add-options arm_v8_1m_mve } */ | |
3 /* { dg-additional-options "-O2" } */ | |
4 | |
5 #include "arm_mve.h" | |
6 | |
7 int8x16_t | |
8 foo (int8x16_t a, int16x8_t b) | |
9 { | |
10 return vshrnbq_n_s16 (a, b, 8); | |
11 } | |
12 | |
13 /* { dg-final { scan-assembler "vshrnb.i16" } } */ | |
14 | |
15 int8x16_t | |
16 foo1 (int8x16_t a, int16x8_t b) | |
17 { | |
18 return vshrnbq (a, b, 8); | |
19 } | |
20 | |
21 /* { dg-final { scan-assembler "vshrnb.i16" } } */ |