private void MulUnsigned32(InstructionNode node)
        {
            Operand result   = node.Result;
            Operand operand1 = node.Operand1;
            Operand operand2 = node.Operand2;

            Operand v1 = AllocateVirtualRegister(TypeSystem.BuiltIn.U4);

            node.SetInstruction2(X86.Mul32, v1, result, operand1, operand2);
        }
Exemple #2
0
        private void MulUnsigned32(InstructionNode node)
        {
            var v1 = AllocateVirtualRegister(TypeSystem.BuiltIn.U4);

            node.SetInstruction2(X86.Mul32, v1, node.Result, node.Operand1, node.Operand2);
        }
Exemple #3
0
        private void MulSigned64(InstructionNode node)
        {
            var v1 = AllocateVirtualRegister(TypeSystem.BuiltIn.U4);

            node.SetInstruction2(X64.Mul64, v1, node.Result, node.Operand1, node.Operand2);
        }