1  /* Test the vmuld_lane_f64 AArch64 SIMD intrinsic.  */
       2  
       3  /* { dg-do run } */
       4  /* { dg-options " -O3" } */
       5  
       6  #include "arm_neon.h"
       7  
       8  extern void abort (void);
       9  
      10  int
      11  main (void)
      12  {
      13    volatile float64_t minus_e, pi;
      14    float64_t expected, actual;
      15  
      16    pi = 3.14159265359;
      17    minus_e = -2.71828;
      18  
      19    expected = pi * minus_e;
      20  
      21    actual = vmuld_lane_f64 (pi, (float64x1_t) { minus_e }, 0);
      22    if (expected != actual)
      23      abort ();
      24  
      25    return 0;
      26  }