aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/vqrdmulhq_laneq_s16.c
blob: 488e694ab4e15665a60e9a18b7bf85eae94d23ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Test the vqrdmulhq_laneq_s16 AArch64 SIMD intrinsic.  */

/* { dg-do compile } */
/* { dg-options "-save-temps -O3 -fno-inline" } */

#include "arm_neon.h"

int16x8_t
t_vqrdmulhq_laneq_s16 (int16x8_t a, int16x8_t b)
{
  return vqrdmulhq_laneq_s16 (a, b, 0);
}

/* { dg-final { scan-assembler-times "sqrdmulh\[ \t\]+\[vV\]\[0-9\]+\.8\[hH\], ?\[vV\]\[0-9\]+\.8\[hH\], ?\[vV\]\[0-9\]+\.\[hH\]\\\[0\\\]\n" 1 } } */
/* { dg-final { cleanup-saved-temps } } */