mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-28 01:50:50 +01:00
24 lines
741 B
C#
24 lines
741 B
C#
namespace ARMeilleure.Decoders
|
|
{
|
|
class OpCode32SimdSel : OpCode32SimdRegS
|
|
{
|
|
public OpCode32SimdSelMode Cc { get; }
|
|
|
|
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdSel(inst, address, opCode, false);
|
|
public new static OpCode CreateT32(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdSel(inst, address, opCode, true);
|
|
|
|
public OpCode32SimdSel(InstDescriptor inst, ulong address, int opCode, bool isThumb) : base(inst, address, opCode, isThumb)
|
|
{
|
|
Cc = (OpCode32SimdSelMode)((opCode >> 20) & 3);
|
|
}
|
|
}
|
|
|
|
enum OpCode32SimdSelMode : int
|
|
{
|
|
Eq = 0,
|
|
Vs,
|
|
Ge,
|
|
Gt
|
|
}
|
|
}
|