aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/Arm32/InstMeta.cs
blob: 64eb41bb75ce7aaf10bee1a43f1a6cbae4fd63cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System;

namespace Ryujinx.Cpu.LightningJit.Arm32
{
    readonly struct InstMeta
    {
        public readonly InstName Name;
        public readonly Action<CodeGenContext, uint> EmitFunc;
        public readonly IsaVersion Version;
        public readonly IsaFeature Feature;
        public readonly InstFlags Flags;

        public InstMeta(InstName name, Action<CodeGenContext, uint> emitFunc, IsaVersion isaVersion, IsaFeature isaFeature, InstFlags flags)
        {
            Name = name;
            EmitFunc = emitFunc;
            Version = isaVersion;
            Feature = isaFeature;
            Flags = flags;
        }
    }
}