Skip to content

Commit b5d61f1

Browse files
authored
Merge pull request #471 from GuillaumeGomez/intrinsics-conversions
Regen intrinsics conversions
2 parents 4720794 + 6c91567 commit b5d61f1

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/intrinsic/archs.rs

+33
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ match name {
7474
"llvm.amdgcn.cvt.sr.bf8.f32" => "__builtin_amdgcn_cvt_sr_bf8_f32",
7575
"llvm.amdgcn.cvt.sr.fp8.f32" => "__builtin_amdgcn_cvt_sr_fp8_f32",
7676
"llvm.amdgcn.dispatch.id" => "__builtin_amdgcn_dispatch_id",
77+
"llvm.amdgcn.dot4.f32.bf8.bf8" => "__builtin_amdgcn_dot4_f32_bf8_bf8",
78+
"llvm.amdgcn.dot4.f32.bf8.fp8" => "__builtin_amdgcn_dot4_f32_bf8_fp8",
79+
"llvm.amdgcn.dot4.f32.fp8.bf8" => "__builtin_amdgcn_dot4_f32_fp8_bf8",
80+
"llvm.amdgcn.dot4.f32.fp8.fp8" => "__builtin_amdgcn_dot4_f32_fp8_fp8",
7781
"llvm.amdgcn.ds.add.gs.reg.rtn" => "__builtin_amdgcn_ds_add_gs_reg_rtn",
7882
"llvm.amdgcn.ds.bpermute" => "__builtin_amdgcn_ds_bpermute",
7983
"llvm.amdgcn.ds.fadd.v2bf16" => "__builtin_amdgcn_ds_atomic_fadd_v2bf16",
@@ -2291,6 +2295,10 @@ match name {
22912295
"llvm.loongarch.csrxchg.d" => "__builtin_loongarch_csrxchg_d",
22922296
"llvm.loongarch.csrxchg.w" => "__builtin_loongarch_csrxchg_w",
22932297
"llvm.loongarch.dbar" => "__builtin_loongarch_dbar",
2298+
"llvm.loongarch.frecipe.d" => "__builtin_loongarch_frecipe_d",
2299+
"llvm.loongarch.frecipe.s" => "__builtin_loongarch_frecipe_s",
2300+
"llvm.loongarch.frsqrte.d" => "__builtin_loongarch_frsqrte_d",
2301+
"llvm.loongarch.frsqrte.s" => "__builtin_loongarch_frsqrte_s",
22942302
"llvm.loongarch.ibar" => "__builtin_loongarch_ibar",
22952303
"llvm.loongarch.iocsrrd.b" => "__builtin_loongarch_iocsrrd_b",
22962304
"llvm.loongarch.iocsrrd.d" => "__builtin_loongarch_iocsrrd_d",
@@ -2529,6 +2537,8 @@ match name {
25292537
"llvm.loongarch.lasx.xvfnmsub.s" => "__builtin_lasx_xvfnmsub_s",
25302538
"llvm.loongarch.lasx.xvfrecip.d" => "__builtin_lasx_xvfrecip_d",
25312539
"llvm.loongarch.lasx.xvfrecip.s" => "__builtin_lasx_xvfrecip_s",
2540+
"llvm.loongarch.lasx.xvfrecipe.d" => "__builtin_lasx_xvfrecipe_d",
2541+
"llvm.loongarch.lasx.xvfrecipe.s" => "__builtin_lasx_xvfrecipe_s",
25322542
"llvm.loongarch.lasx.xvfrint.d" => "__builtin_lasx_xvfrint_d",
25332543
"llvm.loongarch.lasx.xvfrint.s" => "__builtin_lasx_xvfrint_s",
25342544
"llvm.loongarch.lasx.xvfrintrm.d" => "__builtin_lasx_xvfrintrm_d",
@@ -2541,6 +2551,8 @@ match name {
25412551
"llvm.loongarch.lasx.xvfrintrz.s" => "__builtin_lasx_xvfrintrz_s",
25422552
"llvm.loongarch.lasx.xvfrsqrt.d" => "__builtin_lasx_xvfrsqrt_d",
25432553
"llvm.loongarch.lasx.xvfrsqrt.s" => "__builtin_lasx_xvfrsqrt_s",
2554+
"llvm.loongarch.lasx.xvfrsqrte.d" => "__builtin_lasx_xvfrsqrte_d",
2555+
"llvm.loongarch.lasx.xvfrsqrte.s" => "__builtin_lasx_xvfrsqrte_s",
25442556
"llvm.loongarch.lasx.xvfrstp.b" => "__builtin_lasx_xvfrstp_b",
25452557
"llvm.loongarch.lasx.xvfrstp.h" => "__builtin_lasx_xvfrstp_h",
25462558
"llvm.loongarch.lasx.xvfrstpi.b" => "__builtin_lasx_xvfrstpi_b",
@@ -3255,6 +3267,8 @@ match name {
32553267
"llvm.loongarch.lsx.vfnmsub.s" => "__builtin_lsx_vfnmsub_s",
32563268
"llvm.loongarch.lsx.vfrecip.d" => "__builtin_lsx_vfrecip_d",
32573269
"llvm.loongarch.lsx.vfrecip.s" => "__builtin_lsx_vfrecip_s",
3270+
"llvm.loongarch.lsx.vfrecipe.d" => "__builtin_lsx_vfrecipe_d",
3271+
"llvm.loongarch.lsx.vfrecipe.s" => "__builtin_lsx_vfrecipe_s",
32583272
"llvm.loongarch.lsx.vfrint.d" => "__builtin_lsx_vfrint_d",
32593273
"llvm.loongarch.lsx.vfrint.s" => "__builtin_lsx_vfrint_s",
32603274
"llvm.loongarch.lsx.vfrintrm.d" => "__builtin_lsx_vfrintrm_d",
@@ -3267,6 +3281,8 @@ match name {
32673281
"llvm.loongarch.lsx.vfrintrz.s" => "__builtin_lsx_vfrintrz_s",
32683282
"llvm.loongarch.lsx.vfrsqrt.d" => "__builtin_lsx_vfrsqrt_d",
32693283
"llvm.loongarch.lsx.vfrsqrt.s" => "__builtin_lsx_vfrsqrt_s",
3284+
"llvm.loongarch.lsx.vfrsqrte.d" => "__builtin_lsx_vfrsqrte_d",
3285+
"llvm.loongarch.lsx.vfrsqrte.s" => "__builtin_lsx_vfrsqrte_s",
32703286
"llvm.loongarch.lsx.vfrstp.b" => "__builtin_lsx_vfrstp_b",
32713287
"llvm.loongarch.lsx.vfrstp.h" => "__builtin_lsx_vfrstp_h",
32723288
"llvm.loongarch.lsx.vfrstpi.b" => "__builtin_lsx_vfrstpi_b",
@@ -4434,6 +4450,7 @@ match name {
44344450
"llvm.nvvm.abs.bf16x2" => "__nvvm_abs_bf16x2",
44354451
"llvm.nvvm.abs.i" => "__nvvm_abs_i",
44364452
"llvm.nvvm.abs.ll" => "__nvvm_abs_ll",
4453+
"llvm.nvvm.activemask" => "__nvvm_activemask",
44374454
"llvm.nvvm.add.rm.d" => "__nvvm_add_rm_d",
44384455
"llvm.nvvm.add.rm.f" => "__nvvm_add_rm_f",
44394456
"llvm.nvvm.add.rm.ftz.f" => "__nvvm_add_rm_ftz_f",
@@ -4522,6 +4539,7 @@ match name {
45224539
"llvm.nvvm.ex2.approx.d" => "__nvvm_ex2_approx_d",
45234540
"llvm.nvvm.ex2.approx.f" => "__nvvm_ex2_approx_f",
45244541
"llvm.nvvm.ex2.approx.ftz.f" => "__nvvm_ex2_approx_ftz_f",
4542+
"llvm.nvvm.exit" => "__nvvm_exit",
45254543
"llvm.nvvm.f2bf16.rn" => "__nvvm_f2bf16_rn",
45264544
"llvm.nvvm.f2bf16.rn.relu" => "__nvvm_f2bf16_rn_relu",
45274545
"llvm.nvvm.f2bf16.rz" => "__nvvm_f2bf16_rz",
@@ -4722,8 +4740,11 @@ match name {
47224740
"llvm.nvvm.mul24.ui" => "__nvvm_mul24_ui",
47234741
"llvm.nvvm.mulhi.i" => "__nvvm_mulhi_i",
47244742
"llvm.nvvm.mulhi.ll" => "__nvvm_mulhi_ll",
4743+
"llvm.nvvm.mulhi.s" => "__nvvm_mulhi_s",
47254744
"llvm.nvvm.mulhi.ui" => "__nvvm_mulhi_ui",
47264745
"llvm.nvvm.mulhi.ull" => "__nvvm_mulhi_ull",
4746+
"llvm.nvvm.mulhi.us" => "__nvvm_mulhi_us",
4747+
"llvm.nvvm.nanosleep" => "__nvvm_nanosleep",
47274748
"llvm.nvvm.neg.bf16" => "__nvvm_neg_bf16",
47284749
"llvm.nvvm.neg.bf16x2" => "__nvvm_neg_bf16x2",
47294750
"llvm.nvvm.popc.i" => "__nvvm_popc_i",
@@ -4783,6 +4804,7 @@ match name {
47834804
"llvm.nvvm.read.ptx.sreg.envreg7" => "__nvvm_read_ptx_sreg_envreg7",
47844805
"llvm.nvvm.read.ptx.sreg.envreg8" => "__nvvm_read_ptx_sreg_envreg8",
47854806
"llvm.nvvm.read.ptx.sreg.envreg9" => "__nvvm_read_ptx_sreg_envreg9",
4807+
"llvm.nvvm.read.ptx.sreg.globaltimer" => "__nvvm_read_ptx_sreg_globaltimer",
47864808
"llvm.nvvm.read.ptx.sreg.gridid" => "__nvvm_read_ptx_sreg_gridid",
47874809
// [DUPLICATE]: "llvm.nvvm.read.ptx.sreg.gridid" => "__nvvm_read_ptx_sreg_",
47884810
"llvm.nvvm.read.ptx.sreg.laneid" => "__nvvm_read_ptx_sreg_laneid",
@@ -4835,6 +4857,7 @@ match name {
48354857
"llvm.nvvm.redux.sync.umax" => "__nvvm_redux_sync_umax",
48364858
"llvm.nvvm.redux.sync.umin" => "__nvvm_redux_sync_umin",
48374859
"llvm.nvvm.redux.sync.xor" => "__nvvm_redux_sync_xor",
4860+
"llvm.nvvm.reflect" => "__nvvm_reflect",
48384861
"llvm.nvvm.rotate.b32" => "__nvvm_rotate_b32",
48394862
"llvm.nvvm.rotate.b64" => "__nvvm_rotate_b64",
48404863
"llvm.nvvm.rotate.right.b64" => "__nvvm_rotate_right_b64",
@@ -4845,7 +4868,11 @@ match name {
48454868
"llvm.nvvm.rsqrt.approx.f" => "__nvvm_rsqrt_approx_f",
48464869
"llvm.nvvm.rsqrt.approx.ftz.f" => "__nvvm_rsqrt_approx_ftz_f",
48474870
"llvm.nvvm.sad.i" => "__nvvm_sad_i",
4871+
"llvm.nvvm.sad.ll" => "__nvvm_sad_ll",
4872+
"llvm.nvvm.sad.s" => "__nvvm_sad_s",
48484873
"llvm.nvvm.sad.ui" => "__nvvm_sad_ui",
4874+
"llvm.nvvm.sad.ull" => "__nvvm_sad_ull",
4875+
"llvm.nvvm.sad.us" => "__nvvm_sad_us",
48494876
"llvm.nvvm.saturate.d" => "__nvvm_saturate_d",
48504877
"llvm.nvvm.saturate.f" => "__nvvm_saturate_f",
48514878
"llvm.nvvm.saturate.ftz.f" => "__nvvm_saturate_ftz_f",
@@ -5471,6 +5498,7 @@ match name {
54715498
"llvm.ppc.fctiwz" => "__builtin_ppc_fctiwz",
54725499
"llvm.ppc.fctudz" => "__builtin_ppc_fctudz",
54735500
"llvm.ppc.fctuwz" => "__builtin_ppc_fctuwz",
5501+
"llvm.ppc.fence" => "__builtin_ppc_fence",
54745502
"llvm.ppc.fmaf128.round.to.odd" => "__builtin_fmaf128_round_to_odd",
54755503
"llvm.ppc.fmsub" => "__builtin_ppc_fmsub",
54765504
"llvm.ppc.fmsubs" => "__builtin_ppc_fmsubs",
@@ -5599,6 +5627,9 @@ match name {
55995627
"llvm.ppc.qpx.qvstfs" => "__builtin_qpx_qvstfs",
56005628
"llvm.ppc.qpx.qvstfsa" => "__builtin_qpx_qvstfsa",
56015629
"llvm.ppc.readflm" => "__builtin_readflm",
5630+
"llvm.ppc.rldimi" => "__builtin_ppc_rldimi",
5631+
"llvm.ppc.rlwimi" => "__builtin_ppc_rlwimi",
5632+
"llvm.ppc.rlwnm" => "__builtin_ppc_rlwnm",
56025633
"llvm.ppc.scalar.extract.expq" => "__builtin_vsx_scalar_extract_expq",
56035634
"llvm.ppc.scalar.insert.exp.qp" => "__builtin_vsx_scalar_insert_exp_qp",
56045635
"llvm.ppc.set.texasr" => "__builtin_set_texasr",
@@ -5912,6 +5943,8 @@ match name {
59125943
"llvm.s390.vupllb" => "__builtin_s390_vupllb",
59135944
"llvm.s390.vupllf" => "__builtin_s390_vupllf",
59145945
"llvm.s390.vupllh" => "__builtin_s390_vupllh",
5946+
// spv
5947+
"llvm.spv.create.handle" => "__builtin_hlsl_create_handle",
59155948
// ve
59165949
"llvm.ve.vl.andm.MMM" => "__builtin_ve_vl_andm_MMM",
59175950
"llvm.ve.vl.andm.mmm" => "__builtin_ve_vl_andm_mmm",

0 commit comments

Comments
 (0)