mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix MIPS DSP Rev1 intrinsics memory properties.
The patch reviewed by Akira Hatanaka. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4adbe34ad6
commit
f8f7746687
@ -22,26 +22,22 @@ let TargetPrefix = "mips" in { // All intrinsics start with "llvm.mips.".
|
||||
// Addition/subtraction
|
||||
|
||||
def int_mips_addu_qb : GCCBuiltin<"__builtin_mips_addu_qb">,
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_addu_s_qb : GCCBuiltin<"__builtin_mips_addu_s_qb">,
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_subu_qb : GCCBuiltin<"__builtin_mips_subu_qb">,
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], []>;
|
||||
def int_mips_subu_s_qb : GCCBuiltin<"__builtin_mips_subu_s_qb">,
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], []>;
|
||||
|
||||
def int_mips_addq_ph : GCCBuiltin<"__builtin_mips_addq_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
def int_mips_addq_s_ph : GCCBuiltin<"__builtin_mips_addq_s_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
def int_mips_subq_ph : GCCBuiltin<"__builtin_mips_subq_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_subq_s_ph : GCCBuiltin<"__builtin_mips_subq_s_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
|
||||
def int_mips_madd: GCCBuiltin<"__builtin_mips_madd">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_i32_ty, llvm_i32_ty],
|
||||
@ -58,17 +54,14 @@ def int_mips_msubu: GCCBuiltin<"__builtin_mips_msubu">,
|
||||
[IntrNoMem]>;
|
||||
|
||||
def int_mips_addq_s_w: GCCBuiltin<"__builtin_mips_addq_s_w">,
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty], [Commutative]>;
|
||||
def int_mips_subq_s_w: GCCBuiltin<"__builtin_mips_subq_s_w">,
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty], []>;
|
||||
|
||||
def int_mips_addsc: GCCBuiltin<"__builtin_mips_addsc">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [Commutative]>;
|
||||
def int_mips_addwc: GCCBuiltin<"__builtin_mips_addwc">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [Commutative]>;
|
||||
|
||||
def int_mips_modsub: GCCBuiltin<"__builtin_mips_modsub">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
@ -80,9 +73,9 @@ def int_mips_raddu_w_qb: GCCBuiltin<"__builtin_mips_raddu_w_qb">,
|
||||
// Absolute value
|
||||
|
||||
def int_mips_absq_s_ph: GCCBuiltin<"__builtin_mips_absq_s_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty], []>;
|
||||
def int_mips_absq_s_w: GCCBuiltin<"__builtin_mips_absq_s_w">,
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty], []>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Precision reduce/expand
|
||||
@ -90,11 +83,11 @@ def int_mips_absq_s_w: GCCBuiltin<"__builtin_mips_absq_s_w">,
|
||||
def int_mips_precrq_qb_ph: GCCBuiltin<"__builtin_mips_precrq_qb_ph">,
|
||||
Intrinsic<[llvm_v4i8_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
|
||||
def int_mips_precrqu_s_qb_ph: GCCBuiltin<"__builtin_mips_precrqu_s_qb_ph">,
|
||||
Intrinsic<[llvm_v4i8_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_v4i8_ty], [mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_precrq_ph_w: GCCBuiltin<"__builtin_mips_precrq_ph_w">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_q31_ty, mips_q31_ty], [IntrNoMem]>;
|
||||
def int_mips_precrq_rs_ph_w: GCCBuiltin<"__builtin_mips_precrq_rs_ph_w">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_q31_ty, mips_q31_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_q31_ty, mips_q31_ty], []>;
|
||||
def int_mips_preceq_w_phl: GCCBuiltin<"__builtin_mips_preceq_w_phl">,
|
||||
Intrinsic<[mips_q31_ty], [mips_v2q15_ty], [IntrNoMem]>;
|
||||
def int_mips_preceq_w_phr: GCCBuiltin<"__builtin_mips_preceq_w_phr">,
|
||||
@ -120,19 +113,19 @@ def int_mips_preceu_ph_qbra: GCCBuiltin<"__builtin_mips_preceu_ph_qbra">,
|
||||
// Shift
|
||||
|
||||
def int_mips_shll_qb: GCCBuiltin<"__builtin_mips_shll_qb">,
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], []>;
|
||||
def int_mips_shrl_qb: GCCBuiltin<"__builtin_mips_shrl_qb">,
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
def int_mips_shll_ph: GCCBuiltin<"__builtin_mips_shll_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], []>;
|
||||
def int_mips_shll_s_ph: GCCBuiltin<"__builtin_mips_shll_s_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], []>;
|
||||
def int_mips_shra_ph: GCCBuiltin<"__builtin_mips_shra_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
def int_mips_shra_r_ph: GCCBuiltin<"__builtin_mips_shra_r_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
def int_mips_shll_s_w: GCCBuiltin<"__builtin_mips_shll_s_w">,
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty, llvm_i32_ty], []>;
|
||||
def int_mips_shra_r_w: GCCBuiltin<"__builtin_mips_shra_r_w">,
|
||||
Intrinsic<[mips_q31_ty], [mips_q31_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
def int_mips_shilo: GCCBuiltin<"__builtin_mips_shilo">,
|
||||
@ -142,33 +135,25 @@ def int_mips_shilo: GCCBuiltin<"__builtin_mips_shilo">,
|
||||
// Multiplication
|
||||
|
||||
def int_mips_muleu_s_ph_qbl: GCCBuiltin<"__builtin_mips_muleu_s_ph_qbl">,
|
||||
Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_muleu_s_ph_qbr: GCCBuiltin<"__builtin_mips_muleu_s_ph_qbr">,
|
||||
Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_mulq_rs_ph: GCCBuiltin<"__builtin_mips_mulq_rs_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
def int_mips_muleq_s_w_phl: GCCBuiltin<"__builtin_mips_muleq_s_w_phl">,
|
||||
Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
def int_mips_muleq_s_w_phr: GCCBuiltin<"__builtin_mips_muleq_s_w_phr">,
|
||||
Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
def int_mips_mulsaq_s_w_ph: GCCBuiltin<"__builtin_mips_mulsaq_s_w_ph">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_maq_s_w_phl: GCCBuiltin<"__builtin_mips_maq_s_w_phl">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_maq_s_w_phr: GCCBuiltin<"__builtin_mips_maq_s_w_phr">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_maq_sa_w_phl: GCCBuiltin<"__builtin_mips_maq_sa_w_phl">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_maq_sa_w_phr: GCCBuiltin<"__builtin_mips_maq_sa_w_phr">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_mult: GCCBuiltin<"__builtin_mips_mult">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i32_ty, llvm_i32_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
@ -192,69 +177,62 @@ def int_mips_dpsu_h_qbr: GCCBuiltin<"__builtin_mips_dpsu_h_qbr">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_v4i8_ty, llvm_v4i8_ty],
|
||||
[IntrNoMem]>;
|
||||
def int_mips_dpaq_s_w_ph: GCCBuiltin<"__builtin_mips_dpaq_s_w_ph">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_dpsq_s_w_ph: GCCBuiltin<"__builtin_mips_dpsq_s_w_ph">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
|
||||
def int_mips_dpaq_sa_l_w: GCCBuiltin<"__builtin_mips_dpaq_sa_l_w">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty], []>;
|
||||
def int_mips_dpsq_sa_l_w: GCCBuiltin<"__builtin_mips_dpsq_sa_l_w">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty],
|
||||
[IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty], []>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Comparison
|
||||
|
||||
def int_mips_cmpu_eq_qb: GCCBuiltin<"__builtin_mips_cmpu_eq_qb">,
|
||||
Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem, Commutative]>;
|
||||
Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_cmpu_lt_qb: GCCBuiltin<"__builtin_mips_cmpu_lt_qb">,
|
||||
Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem, Commutative]>;
|
||||
Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_cmpu_le_qb: GCCBuiltin<"__builtin_mips_cmpu_le_qb">,
|
||||
Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem, Commutative]>;
|
||||
Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_cmpgu_eq_qb: GCCBuiltin<"__builtin_mips_cmpgu_eq_qb">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_cmpgu_lt_qb: GCCBuiltin<"__builtin_mips_cmpgu_lt_qb">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_cmpgu_le_qb: GCCBuiltin<"__builtin_mips_cmpgu_le_qb">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
|
||||
[IntrNoMem, Commutative]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
|
||||
def int_mips_cmp_eq_ph: GCCBuiltin<"__builtin_mips_cmp_eq_ph">,
|
||||
Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem, Commutative]>;
|
||||
Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
def int_mips_cmp_lt_ph: GCCBuiltin<"__builtin_mips_cmp_lt_ph">,
|
||||
Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem, Commutative]>;
|
||||
Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
def int_mips_cmp_le_ph: GCCBuiltin<"__builtin_mips_cmp_le_ph">,
|
||||
Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem, Commutative]>;
|
||||
Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Extracting
|
||||
|
||||
def int_mips_extr_s_h: GCCBuiltin<"__builtin_mips_extr_s_h">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
|
||||
def int_mips_extr_w: GCCBuiltin<"__builtin_mips_extr_w">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
|
||||
def int_mips_extr_rs_w: GCCBuiltin<"__builtin_mips_extr_rs_w">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
|
||||
def int_mips_extr_r_w: GCCBuiltin<"__builtin_mips_extr_r_w">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
|
||||
def int_mips_extp: GCCBuiltin<"__builtin_mips_extp">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
|
||||
def int_mips_extpdp: GCCBuiltin<"__builtin_mips_extpdp">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Misc
|
||||
|
||||
def int_mips_wrdsp: GCCBuiltin<"__builtin_mips_wrdsp">,
|
||||
Intrinsic<[], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[], [llvm_i32_ty, llvm_i32_ty], []>;
|
||||
def int_mips_rddsp: GCCBuiltin<"__builtin_mips_rddsp">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrReadMem]>;
|
||||
|
||||
def int_mips_insv: GCCBuiltin<"__builtin_mips_insv">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrReadMem]>;
|
||||
def int_mips_bitrev: GCCBuiltin<"__builtin_mips_bitrev">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrNoMem]>;
|
||||
|
||||
@ -267,15 +245,15 @@ def int_mips_repl_ph: GCCBuiltin<"__builtin_mips_repl_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [llvm_i32_ty], [IntrNoMem]>;
|
||||
|
||||
def int_mips_pick_qb: GCCBuiltin<"__builtin_mips_pick_qb">,
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrReadMem]>;
|
||||
def int_mips_pick_ph: GCCBuiltin<"__builtin_mips_pick_ph">,
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
|
||||
Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrReadMem]>;
|
||||
|
||||
def int_mips_mthlip: GCCBuiltin<"__builtin_mips_mthlip">,
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_i32_ty], []>;
|
||||
|
||||
def int_mips_bposge32: GCCBuiltin<"__builtin_mips_bposge32">,
|
||||
Intrinsic<[llvm_i32_ty], [], [IntrNoMem]>;
|
||||
Intrinsic<[llvm_i32_ty], [], [IntrReadMem]>;
|
||||
|
||||
def int_mips_lbux: GCCBuiltin<"__builtin_mips_lbux">,
|
||||
Intrinsic<[llvm_i32_ty], [llvm_ptr_ty, llvm_i32_ty], [IntrReadArgMem]>;
|
||||
|
Loading…
Reference in New Issue
Block a user