Beispiel #1
0
        private static void InsertInst(
            int XMask,
            int Value,
            AInst Inst,
            AExecutionMode Mode)
        {
            InstInfo Info = new InstInfo(XMask, Value, Inst);

            if (Mode == AExecutionMode.AArch64)
            {
                AllInstA64.Add(Info);
            }
            else
            {
                AllInstA32.Add(Info);
            }
        }
Beispiel #2
0
 private static void Add(Instruction inst, VariableType destType, params VariableType[] srcTypes)
 {
     _infoTbl[(int)inst] = new InstInfo(destType, srcTypes);
 }