aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/Arm64/InstInfo.cs
blob: 031a36577c4a18adc257e8ec3203fa03580ce1da (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 Ryujinx.Cpu.LightningJit.Graph;

namespace Ryujinx.Cpu.LightningJit.Arm64
{
    readonly struct InstInfo
    {
        public readonly uint Encoding;
        public readonly InstName Name;
        public readonly InstFlags Flags;
        public readonly AddressForm AddressForm;
        public readonly RegisterUse RegisterUse;

        public InstInfo(uint encoding, InstName name, InstFlags flags, AddressForm addressForm, in RegisterUse registerUse)
        {
            Encoding = encoding;
            Name = name;
            Flags = flags;
            AddressForm = addressForm;
            RegisterUse = registerUse;
        }
    }
}