mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 17:45:26 +00:00
19 lines
495 B
C#
19 lines
495 B
C#
|
namespace ARMeilleure.Decoders
|
||
|
{
|
||
|
class OpCodeSimdCvt : OpCodeSimd
|
||
|
{
|
||
|
public int FBits { get; private set; }
|
||
|
|
||
|
public OpCodeSimdCvt(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
||
|
{
|
||
|
int scale = (opCode >> 10) & 0x3f;
|
||
|
int sf = (opCode >> 31) & 0x1;
|
||
|
|
||
|
FBits = 64 - scale;
|
||
|
|
||
|
RegisterSize = sf != 0
|
||
|
? RegisterSize.Int64
|
||
|
: RegisterSize.Int32;
|
||
|
}
|
||
|
}
|
||
|
}
|