(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
mve/
intrinsics/
uqrshll_sat48.c
       1  /* { dg-require-effective-target arm_v8_1m_mve_ok } */
       2  /* { dg-add-options arm_v8_1m_mve } */
       3  /* { dg-additional-options "-O2" } */
       4  /* { dg-final { check-function-bodies "**" "" } } */
       5  
       6  #include "arm_mve.h"
       7  
       8  #ifdef __cplusplus
       9  extern "C" {
      10  #endif
      11  
      12  /*
      13  **foo:
      14  **	...
      15  **	uqrshll	(?:ip|fp|r[0-9]+), (?:ip|fp|r[0-9]+), #48, (?:ip|fp|r[0-9]+)(?:	@.*|)
      16  **	...
      17  */
      18  uint64_t
      19  foo (uint64_t value, int32_t shift)
      20  {
      21    return uqrshll_sat48 (value, shift);
      22  }
      23  
      24  /*
      25  **foo1:
      26  **	...
      27  **	uqrshll	(?:ip|fp|r[0-9]+), (?:ip|fp|r[0-9]+), #48, (?:ip|fp|r[0-9]+)(?:	@.*|)
      28  **	...
      29  */
      30  uint64_t
      31  foo1 (int32_t shift)
      32  {
      33    return uqrshll_sat48 (1, shift);
      34  }
      35  
      36  #ifdef __cplusplus
      37  }
      38  #endif
      39  
      40  /* { dg-final { scan-assembler-not "__ARM_undef" } } */