Skip to content

Commit

Permalink
PMNULL -> PMULL typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nabijaczleweli committed Mar 3, 2024
1 parent 8162673 commit 08f78eb
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion include/infoware/cpu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ namespace iware {
dotprod,
rdm,
lse,
pmnull,
pmull,
specres,
sb,
frintts,
Expand Down
4 changes: 2 additions & 2 deletions src/cpu/instruction_set/instruction_set_darwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ static std::pair<const char* const*, const char* const*> instruction_set_to_name
static const char* const dotprod[] = {"DOTPROD"};
static const char* const rdm[] = {"RDM"};
static const char* const lse[] = {"LSE"};
static const char* const pmnull[] = {"PMNULL"};
static const char* const pmull[] = {"PMULL"};
static const char* const specres[] = {"SPECRES"};
static const char* const sb[] = {"SB"};
static const char* const frintts[] = {"FRINTTS"};
Expand Down Expand Up @@ -75,7 +75,7 @@ static std::pair<const char* const*, const char* const*> instruction_set_to_name
HANDLED_CASE(dotprod, dotprod)
HANDLED_CASE(rdm, rdm)
HANDLED_CASE(lse, lse)
HANDLED_CASE(pmnull, pmnull)
HANDLED_CASE(pmull, pmull)
HANDLED_CASE(specres, specres)
HANDLED_CASE(sb, sb)
HANDLED_CASE(frintts, frintts)
Expand Down
78 changes: 39 additions & 39 deletions src/cpu/instruction_set/instruction_set_darwin_arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,45 +41,45 @@ std::vector<iware::cpu::instruction_set_t> iware::cpu::supported_instruction_set
"hw.optional.arm.FEAT_SHA1", "hw.optional.armv8_2_sha512", "hw.optional.armv8_2_sha3");
push_if_supported(instructions, iware::cpu::instruction_set_t::aes, "hw.optional.arm.FEAT_AES");

push_if_supported(instructions, iware::cpu::instruction_set_t::fhm, "hw.optional.arm.FEAT_FHM");
push_if_supported(instructions, iware::cpu::instruction_set_t::dotprod, "hw.optional.arm.FEAT_DotProd");
push_if_supported(instructions, iware::cpu::instruction_set_t::rdm, "hw.optional.arm.FEAT_RDM");
push_if_supported(instructions, iware::cpu::instruction_set_t::lse, "hw.optional.arm.FEAT_LSE");
push_if_supported(instructions, iware::cpu::instruction_set_t::pmnull, "hw.optional.arm.FEAT_PMNULL");
push_if_supported(instructions, iware::cpu::instruction_set_t::specres, "hw.optional.arm.FEAT_SPECRES");
push_if_supported(instructions, iware::cpu::instruction_set_t::sb, "hw.optional.arm.FEAT_SB");
push_if_supported(instructions, iware::cpu::instruction_set_t::frintts, "hw.optional.arm.FEAT_FRINTTS");
push_if_supported(instructions, iware::cpu::instruction_set_t::lrcpc, "hw.optional.arm.FEAT_LRCPC");
push_if_supported(instructions, iware::cpu::instruction_set_t::lrcpc2, "hw.optional.arm.FEAT_LRCPC2");
push_if_supported(instructions, iware::cpu::instruction_set_t::fcma, "hw.optional.arm.FEAT_FCMA");
push_if_supported(instructions, iware::cpu::instruction_set_t::jscvt, "hw.optional.arm.FEAT_JSCVT");
push_if_supported(instructions, iware::cpu::instruction_set_t::pauth, "hw.optional.arm.FEAT_PAuth");
push_if_supported(instructions, iware::cpu::instruction_set_t::pauth2, "hw.optional.arm.FEAT_PAuth2");
push_if_supported(instructions, iware::cpu::instruction_set_t::fpac, "hw.optional.arm.FEAT_FPAC");
push_if_supported(instructions, iware::cpu::instruction_set_t::dpb, "hw.optional.arm.FEAT_DPB");
push_if_supported(instructions, iware::cpu::instruction_set_t::dpb2, "hw.optional.arm.FEAT_DPB2");
push_if_supported(instructions, iware::cpu::instruction_set_t::bf16, "hw.optional.arm.FEAT_BF16");
push_if_supported(instructions, iware::cpu::instruction_set_t::i8mm, "hw.optional.arm.FEAT_BF16");
push_if_supported(instructions, iware::cpu::instruction_set_t::ecv, "hw.optional.arm.FEAT_ECV");
push_if_supported(instructions, iware::cpu::instruction_set_t::les2, "hw.optional.arm.FEAT_LES2");
push_if_supported(instructions, iware::cpu::instruction_set_t::csv2, "hw.optional.arm.FEAT_CSV2");
push_if_supported(instructions, iware::cpu::instruction_set_t::csv3, "hw.optional.arm.FEAT_CSV3");
push_if_supported(instructions, iware::cpu::instruction_set_t::dit, "hw.optional.arm.FEAT_DIT");
push_if_supported(instructions, iware::cpu::instruction_set_t::fp16, "hw.optional.arm.FEAT_FP16", "hw.optional.neon_fp16");
push_if_supported(instructions, iware::cpu::instruction_set_t::ssbs, "hw.optional.arm.FEAT_SSBS");
push_if_supported(instructions, iware::cpu::instruction_set_t::bti, "hw.optional.arm.FEAT_BTI");
push_if_supported(instructions, iware::cpu::instruction_set_t::fp_sync_exception, "hw.optional.arm.FP_SyncExceptions");
push_if_supported(instructions, iware::cpu::instruction_set_t::neon, "hw.optional.neon");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_1_atomics, "hw.optional.armv8_1_atomics");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_2_fhm, "hw.optional.armv8_2_fhm");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_2_compnum, "hw.optional.armv8_2_compnum");
push_if_supported(instructions, iware::cpu::instruction_set_t::watchpoint, "hw.optional.watchpoint");
push_if_supported(instructions, iware::cpu::instruction_set_t::breakpoint, "hw.optional.breakpoint");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_crc32, "hw.optional.armv8_crc32");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_gpi, "hw.optional.armv8_gpi");
push_if_supported(instructions, iware::cpu::instruction_set_t::adv_simd, "hw.optional.AdvSIMD");
push_if_supported(instructions, iware::cpu::instruction_set_t::adv_simd_hpfp_cvt, "hw.optional.AdvSIMD_HPFPCvt");
push_if_supported(instructions, iware::cpu::instruction_set_t::ucnormal_mem, "hw.optional.ucnormal_mem");
push_if_supported(instructions, iware::cpu::instruction_set_t::fhm /****************/, "hw.optional.arm.FEAT_FHM");
push_if_supported(instructions, iware::cpu::instruction_set_t::dotprod /************/, "hw.optional.arm.FEAT_DotProd");
push_if_supported(instructions, iware::cpu::instruction_set_t::rdm /****************/, "hw.optional.arm.FEAT_RDM");
push_if_supported(instructions, iware::cpu::instruction_set_t::lse /****************/, "hw.optional.arm.FEAT_LSE");
push_if_supported(instructions, iware::cpu::instruction_set_t::pmull /**************/, "hw.optional.arm.FEAT_PMULL");
push_if_supported(instructions, iware::cpu::instruction_set_t::specres /************/, "hw.optional.arm.FEAT_SPECRES");
push_if_supported(instructions, iware::cpu::instruction_set_t::sb /*****************/, "hw.optional.arm.FEAT_SB");
push_if_supported(instructions, iware::cpu::instruction_set_t::frintts /************/, "hw.optional.arm.FEAT_FRINTTS");
push_if_supported(instructions, iware::cpu::instruction_set_t::lrcpc /**************/, "hw.optional.arm.FEAT_LRCPC");
push_if_supported(instructions, iware::cpu::instruction_set_t::lrcpc2 /*************/, "hw.optional.arm.FEAT_LRCPC2");
push_if_supported(instructions, iware::cpu::instruction_set_t::fcma /***************/, "hw.optional.arm.FEAT_FCMA");
push_if_supported(instructions, iware::cpu::instruction_set_t::jscvt /**************/, "hw.optional.arm.FEAT_JSCVT");
push_if_supported(instructions, iware::cpu::instruction_set_t::pauth /**************/, "hw.optional.arm.FEAT_PAuth");
push_if_supported(instructions, iware::cpu::instruction_set_t::pauth2 /*************/, "hw.optional.arm.FEAT_PAuth2");
push_if_supported(instructions, iware::cpu::instruction_set_t::fpac /***************/, "hw.optional.arm.FEAT_FPAC");
push_if_supported(instructions, iware::cpu::instruction_set_t::dpb /****************/, "hw.optional.arm.FEAT_DPB");
push_if_supported(instructions, iware::cpu::instruction_set_t::dpb2 /***************/, "hw.optional.arm.FEAT_DPB2");
push_if_supported(instructions, iware::cpu::instruction_set_t::bf16 /***************/, "hw.optional.arm.FEAT_BF16");
push_if_supported(instructions, iware::cpu::instruction_set_t::i8mm /***************/, "hw.optional.arm.FEAT_BF16");
push_if_supported(instructions, iware::cpu::instruction_set_t::ecv /****************/, "hw.optional.arm.FEAT_ECV");
push_if_supported(instructions, iware::cpu::instruction_set_t::les2 /***************/, "hw.optional.arm.FEAT_LES2");
push_if_supported(instructions, iware::cpu::instruction_set_t::csv2 /***************/, "hw.optional.arm.FEAT_CSV2");
push_if_supported(instructions, iware::cpu::instruction_set_t::csv3 /***************/, "hw.optional.arm.FEAT_CSV3");
push_if_supported(instructions, iware::cpu::instruction_set_t::dit /****************/, "hw.optional.arm.FEAT_DIT");
push_if_supported(instructions, iware::cpu::instruction_set_t::fp16 /***************/, "hw.optional.arm.FEAT_FP16", "hw.optional.neon_fp16");
push_if_supported(instructions, iware::cpu::instruction_set_t::ssbs /***************/, "hw.optional.arm.FEAT_SSBS");
push_if_supported(instructions, iware::cpu::instruction_set_t::bti /****************/, "hw.optional.arm.FEAT_BTI");
push_if_supported(instructions, iware::cpu::instruction_set_t::fp_sync_exception /**/, "hw.optional.arm.FP_SyncExceptions");
push_if_supported(instructions, iware::cpu::instruction_set_t::neon /***************/, "hw.optional.neon");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_1_atomics /****/, "hw.optional.armv8_1_atomics");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_2_fhm /********/, "hw.optional.armv8_2_fhm");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_2_compnum /****/, "hw.optional.armv8_2_compnum");
push_if_supported(instructions, iware::cpu::instruction_set_t::watchpoint /*********/, "hw.optional.watchpoint");
push_if_supported(instructions, iware::cpu::instruction_set_t::breakpoint /*********/, "hw.optional.breakpoint");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_crc32 /********/, "hw.optional.armv8_crc32");
push_if_supported(instructions, iware::cpu::instruction_set_t::armv8_gpi /**********/, "hw.optional.armv8_gpi");
push_if_supported(instructions, iware::cpu::instruction_set_t::adv_simd /***********/, "hw.optional.AdvSIMD");
push_if_supported(instructions, iware::cpu::instruction_set_t::adv_simd_hpfp_cvt /**/, "hw.optional.AdvSIMD_HPFPCvt");
push_if_supported(instructions, iware::cpu::instruction_set_t::ucnormal_mem /*******/, "hw.optional.ucnormal_mem");
return instructions;
}

Expand Down

0 comments on commit 08f78eb

Please sign in to comment.