mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-27 23:22:00 +00:00
17 lines
392 B
C#
17 lines
392 B
C#
|
using ChocolArm64.Instructions;
|
||
|
|
||
|
namespace ChocolArm64.Decoders
|
||
|
{
|
||
|
class OpCodeSimdShImm64 : OpCodeSimd64
|
||
|
{
|
||
|
public int Imm { get; private set; }
|
||
|
|
||
|
public OpCodeSimdShImm64(Inst inst, long position, int opCode) : base(inst, position, opCode)
|
||
|
{
|
||
|
Imm = (opCode >> 16) & 0x7f;
|
||
|
|
||
|
Size = BitUtils.HighestBitSetNibble(Imm >> 3);
|
||
|
}
|
||
|
}
|
||
|
}
|