aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/State/FPState.cs
blob: e76f48240c8bf288fbda19494860c540278ad2a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
namespace ARMeilleure.State
{
    public enum FPState
    {
        // FPSR Flags.
        IocFlag = 0,
        DzcFlag = 1,
        OfcFlag = 2,
        UfcFlag = 3,
        IxcFlag = 4,
        IdcFlag = 7,
        QcFlag = 27,
        VFlag = 28,
        CFlag = 29,
        ZFlag = 30,
        NFlag = 31,

        // FPCR Flags.
        IoeFlag = 8,
        DzeFlag = 9,
        OfeFlag = 10,
        UfeFlag = 11,
        IxeFlag = 12,
        IdeFlag = 15,
        RMode0Flag = 22,
        RMode1Flag = 23,
        FzFlag = 24,
        DnFlag = 25,
        AhpFlag = 26,
    }
}