mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-26 20:13:01 +00:00
16 lines
No EOL
384 B
C#
16 lines
No EOL
384 B
C#
using ChocolArm64.Instruction;
|
|
|
|
namespace ChocolArm64.Decoder
|
|
{
|
|
class AOpCodeSimdShImm : AOpCodeSimd
|
|
{
|
|
public int Imm { get; private set; }
|
|
|
|
public AOpCodeSimdShImm(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
|
{
|
|
Imm = (OpCode >> 16) & 0x7f;
|
|
|
|
Size = ABitUtils.HighestBitSet32(Imm >> 3);
|
|
}
|
|
}
|
|
} |