public static string ToString(Arch arch) { switch (arch) { case Arch.ARCH_8086: return("8086"); case Arch.ARCH_186: return("186"); case Arch.ARCH_286: return("286"); case Arch.ARCH_386: return("386"); case Arch.ARCH_486: return("486"); case Arch.ARCH_3DNOW: return("3DNOW"); default: break; } return(arch.ToString()); }
public static string ToString(Arch arch) { switch (arch) { case Arch.ARCH_NONE: return("NONE"); case Arch.ARCH_8086: return("8086"); case Arch.ARCH_186: return("186"); case Arch.ARCH_286: return("286"); case Arch.ARCH_386: return("386"); case Arch.ARCH_486: return("486"); case Arch.ARCH_PENT: return("PENT"); case Arch.ARCH_P6: return("P6"); case Arch.ARCH_MMX: return("MMX"); case Arch.ARCH_SSE: return("SSE"); case Arch.ARCH_SSE2: return("SSE2"); case Arch.ARCH_SSE3: return("SSE3"); case Arch.ARCH_SSSE3: return("SSSE3"); case Arch.ARCH_SSE4_1: return("SSE4_1"); case Arch.ARCH_SSE4_2: return("SSE4_2"); case Arch.ARCH_SSE4A: return("SSE4A"); case Arch.ARCH_SSE5: return("SSE5"); case Arch.ARCH_AVX: return("AVX"); case Arch.ARCH_AVX2: return("AVX2"); case Arch.ARCH_AVX512_F: return("AVX512_F"); case Arch.ARCH_AVX512_CD: return("AVX512_CD"); case Arch.ARCH_AVX512_ER: return("AVX512_ER"); case Arch.ARCH_AVX512_PF: return("AVX512_PF"); case Arch.ARCH_AVX512_BW: return("AVX512_BW"); case Arch.ARCH_AVX512_DQ: return("AVX512_DQ"); case Arch.ARCH_AVX512_VL: return("AVX512_VL"); case Arch.ARCH_AVX512_IFMA: return("AVX512_IFMA"); case Arch.ARCH_AVX512_VBMI: return("AVX512_VBMI"); case Arch.ARCH_AVX512_VPOPCNTDQ: return("AVX512_VPOPCNTDQ"); case Arch.ARCH_AVX512_4VNNIW: return("AVX512_4VNNIW"); case Arch.ARCH_AVX512_4FMAPS: return("AVX512_4FMAPS"); case Arch.ARCH_AVX512_VBMI2: return("AVX512_VBMI2"); case Arch.ARCH_AVX512_VNNI: return("AVX512_VNNI"); case Arch.ARCH_AVX512_BITALG: return("AVX512_BITALG"); case Arch.ARCH_AVX512_GFNI: return("AVX512_GFNI"); case Arch.ARCH_AVX512_VAES: return("AVX512_VAES"); case Arch.ARCH_AVX512_VPCLMULQDQ: return("_AVX512_VPCLMULQDQ"); case Arch.ARCH_ADX: return("ADX"); case Arch.ARCH_AES: return("AES"); case Arch.ARCH_BMI1: return("BMI1"); case Arch.ARCH_BMI2: return("BMI2"); case Arch.ARCH_F16C: return("F16C"); case Arch.ARCH_FMA: return("FMA"); case Arch.ARCH_FSGSBASE: return("FSGSBASE"); case Arch.ARCH_HLE: return("HLE"); case Arch.ARCH_INVPCID: return("INVPCID"); case Arch.ARCH_SHA: return("SHA"); case Arch.ARCH_RTM: return("RTM"); case Arch.ARCH_MPX: return("MPX"); case Arch.ARCH_PCLMULQDQ: return("PCLMULQDQ"); case Arch.ARCH_LZCNT: return("LZCNT"); case Arch.ARCH_PREFETCHWT1: return("PREFETCHWT1"); case Arch.ARCH_PRFCHW: return("PRFCHW"); case Arch.ARCH_RDPID: return("RDPID"); case Arch.ARCH_RDRAND: return("RDRAND"); case Arch.ARCH_RDSEED: return("RDSEED"); case Arch.ARCH_XSAVEOPT: return("XSAVEOPT"); case Arch.ARCH_SGX1: return("SGX1"); case Arch.ARCH_SGX2: return("SGX2"); case Arch.ARCH_SMX: return("SMX"); case Arch.ARCH_CLDEMOTE: return("CLDEMOTE"); case Arch.ARCH_MOVDIR64B: return("MOVDIR64B"); case Arch.ARCH_MOVDIRI: return("MOVDIRI"); case Arch.ARCH_PCONFIG: return("PCONFIG"); case Arch.ARCH_WAITPKG: return("WAITPKG"); case Arch.ARCH_X64: return("X64"); case Arch.ARCH_IA64: return("IA64"); case Arch.ARCH_UNDOC: return("UNDOC"); case Arch.ARCH_AMD: return("AMD"); case Arch.ARCH_TBM: return("TBM"); case Arch.ARCH_3DNOW: return("3DNOW"); case Arch.ARCH_CYRIX: return("CYRIX"); case Arch.ARCH_CYRIXM: return("CYRIXM"); case Arch.ARCH_VMX: return("VMX"); default: break; } return(arch.ToString()); }
public override string ToString() { return($"{Version.ToString()} ({Arch.ToString().ToLower()})"); }