int foo (void) { uint32x4_t a = {0xd, 0xe, 0xa, 0xd}; uint32x4_t b = {0, 1, 2, 3}; uint32x4_t c = {3, 2, 1, 0}; uint32x4_t res = vsha1su0q_u32 (a, b, c); return res[0]; }
uint32x4_t test_vsha1su0q_u32 (uint32x4_t w0_3, uint32x4_t w4_7, uint32x4_t w8_11) { return vsha1su0q_u32 (w0_3, w4_7, w8_11); }
uint32x4_t test_sha1su0(uint32x4_t wk0_3, uint32x4_t wk4_7, uint32x4_t wk8_11) { // CHECK-LABEL: test_sha1su0: // CHECK: sha1su0.4s v0, v1, v2 return vsha1su0q_u32(wk0_3, wk4_7, wk8_11); }
uint32x4_t test_vsha1su0q_u32(uint32x4_t w0_3, uint32x4_t w4_7, uint32x4_t w8_11) { // CHECK: test_vsha1su0q_u32 return vsha1su0q_u32(w0_3, w4_7, w8_11); // CHECK: sha1su0 {{v[0-9]+}}.4s, {{v[0-9]+}}.4s, {{v[0-9]+}}.4s }