예제 #1
0
void test_vRsraQ_nu16 (void)
{
  uint16x8_t out_uint16x8_t;
  uint16x8_t arg0_uint16x8_t;
  uint16x8_t arg1_uint16x8_t;

  out_uint16x8_t = vrsraq_n_u16 (arg0_uint16x8_t, arg1_uint16x8_t, 1);
}
예제 #2
0
uint16x8_t test_vrsraq_n_u16(uint16x8_t acc, uint16x8_t in) {
    // CHECK-LABEL: @test_vrsraq_n_u16
    // CHECK: [[TMP:%[0-9a-zA-Z._]+]] = tail call <8 x i16> @llvm.arm64.neon.urshl.v8i16(<8 x i16> %in, <8 x i16> <i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1, i16 -1>)
    // CHECK: add <8 x i16> [[TMP]], %acc
    return vrsraq_n_u16(acc, in, 1);
}