(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
target_attr_crypto_ice_1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mcpu=thunderx+nofp -march=armv8-a" } */
       3  
       4  #include "arm_neon.h"
       5  
       6  /* Unless we do something about re-laying out the SIMD builtin types
       7     this testcase ICEs during expansion of the crypto builtin.  */
       8  
       9  __attribute__ ((target ("cpu=cortex-a57+sha2")))
      10  uint32x4_t
      11  test_vsha1cq_u32 (uint32x4_t hash_abcd, uint32_t hash_e, uint32x4_t wk)
      12  {
      13    return vsha1cq_u32 (hash_abcd, hash_e, wk);
      14  }
      15  
      16  /* This one should be compiled for thunderx with no fp.  */
      17  int
      18  foo (int a)
      19  {
      20    return a + 5;
      21  }