コード例 #1
0
ファイル: vset_lanes8.c プロジェクト: crathish/chipKIT-cxx
void test_vset_lanes8 (void)
{
  int8x8_t out_int8x8_t;
  int8_t arg0_int8_t;
  int8x8_t arg1_int8x8_t;

  out_int8x8_t = vset_lane_s8 (arg0_int8_t, arg1_int8x8_t, 1);
}
コード例 #2
0
int8x8_t test_vset_lane_s8(int8_t v1, int8x8_t v2) {
   // CHECK: test_vset_lane_s8
  return vset_lane_s8(v1, v2, 6);
  // CHECK: ins {{v[0-9]+}}.b[6], {{w[0-9]+}}
}
コード例 #3
0
ファイル: aarch64-neon-vget.c プロジェクト: Blizzard/clang
int8x8_t test_vset_lane_s8(int8_t a, int8x8_t b) {
  // CHECK-LABEL: test_vset_lane_s8:
  // CHECK-NEXT:  ins.b v0[7], w0
  // CHECK-NEXT:  ret
  return vset_lane_s8(a, b, 7);
}
コード例 #4
0
ファイル: aarch64-neon-vget.c プロジェクト: AlexDenisov/clang
// CHECK-LABEL: define <8 x i8> @test_vset_lane_s8(i8 %a, <8 x i8> %b) #0 {
// CHECK:   [[VSET_LANE:%.*]] = insertelement <8 x i8> %b, i8 %a, i32 7
// CHECK:   ret <8 x i8> [[VSET_LANE]]
int8x8_t test_vset_lane_s8(int8_t a, int8x8_t b) {
  return vset_lane_s8(a, b, 7);
}