28e6b93634
* Update CpuTest.cs * Update CpuTestSimd.cs * Superseded. * Update AInstEmitSimdCvt.cs * Update ASoftFloat.cs * Nit. * Update PackageReferences. * Update AInstEmitSimdArithmetic.cs * Update AVectorHelper.cs * Update ASoftFloat.cs * Update ASoftFallback.cs * Update AThreadState.cs * Create FPType.cs * Create FPExc.cs * Create FPCR.cs * Create FPSR.cs * Update ARoundMode.cs * Update APState.cs * Avoid an unwanted implicit cast of the operator >= to long, continuing to check for negative values. Remove a leftover. * Nits.
23 lines
322 B
C#
23 lines
322 B
C#
using System;
|
|
|
|
namespace ChocolArm64.State
|
|
{
|
|
[Flags]
|
|
enum APState
|
|
{
|
|
VBit = 28,
|
|
CBit = 29,
|
|
ZBit = 30,
|
|
NBit = 31,
|
|
|
|
V = 1 << VBit,
|
|
C = 1 << CBit,
|
|
Z = 1 << ZBit,
|
|
N = 1 << NBit,
|
|
|
|
NZ = N | Z,
|
|
CV = C | V,
|
|
|
|
NZCV = NZ | CV
|
|
}
|
|
}
|