1  /* Test the `vextf64' AArch64 SIMD intrinsic.  */
       2  
       3  /* { dg-do run } */
       4  /* { dg-options "-save-temps -O3 -fno-inline" } */
       5  
       6  #include "arm_neon.h"
       7  
       8  extern void abort (void);
       9  
      10  int
      11  main (int argc, char **argv)
      12  {
      13    int i, off;
      14    float64x1_t in1 = {0};
      15    float64x1_t in2 = {1};
      16    float64x1_t actual = vext_f64 (in1, in2, 0);
      17    if (actual[0] != in1[0])
      18      abort ();
      19  
      20    return 0;
      21  }
      22  
      23  /* Do not scan-assembler.  An EXT instruction could be emitted, but would merely
      24     return its first argument, so it is legitimate to optimize it out.  */