diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-05-13 02:30:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-13 15:30:21 +1000 |
| commit | 96c7988671177eb565728d31a66a232b1e300c9f (patch) | |
| tree | 5caae5c78ebffd6a354f5802019f1a3a30a2e500 /ARMeilleure/CodeGen/X86/CodeGenerator.cs | |
| parent | 1f8e45c2baac964a2c6b4dea1d7908d9c30a2a29 (diff) | |
Remove CpuId IR instruction (#1227)
Diffstat (limited to 'ARMeilleure/CodeGen/X86/CodeGenerator.cs')
| -rw-r--r-- | ARMeilleure/CodeGen/X86/CodeGenerator.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ARMeilleure/CodeGen/X86/CodeGenerator.cs b/ARMeilleure/CodeGen/X86/CodeGenerator.cs index 1bcab736..a6347b27 100644 --- a/ARMeilleure/CodeGen/X86/CodeGenerator.cs +++ b/ARMeilleure/CodeGen/X86/CodeGenerator.cs @@ -53,7 +53,6 @@ namespace ARMeilleure.CodeGen.X86 Add(Instruction.ConvertToFP, GenerateConvertToFP); Add(Instruction.Copy, GenerateCopy); Add(Instruction.CountLeadingZeros, GenerateCountLeadingZeros); - Add(Instruction.CpuId, GenerateCpuId); Add(Instruction.Divide, GenerateDivide); Add(Instruction.DivideUI, GenerateDivideUI); Add(Instruction.Fill, GenerateFill); @@ -765,11 +764,6 @@ namespace ARMeilleure.CodeGen.X86 context.Assembler.Xor(dest, Const(operandMask), OperandType.I32); } - private static void GenerateCpuId(CodeGenContext context, Operation operation) - { - context.Assembler.Cpuid(); - } - private static void GenerateDivide(CodeGenContext context, Operation operation) { Operand dest = operation.Destination; |
