Example #1
0
KFR_SINTRIN bool bittestany(const u32neon& a)
{
    const uint32x2_t tmp = vorr_u32(vget_low_u32(*a), vget_high_u32(*a));
    return vget_lane_u32(vpmax_u32(tmp, tmp), 0) != 0;
}
Example #2
0
uint32x2_t test_vorr_u32(uint32x2_t a, uint32x2_t b) {
  // CHECK-LABEL: test_vorr_u32
  return vorr_u32(a, b);
  // CHECK: orr {{v[0-9]+}}.8b, {{v[0-9]+}}.8b, {{v[0-9]+}}.8b
}