0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 17:05:45 +00:00
ryujinx-fork/ChocolArm64/Decoder/AOpCodeSimdShImm.cs

16 lines
384 B
C#
Raw Normal View History

2018-02-04 23:08:20 +00:00
using ChocolArm64.Instruction;
namespace ChocolArm64.Decoder
{
class AOpCodeSimdShImm : AOpCodeSimd
2018-02-04 23:08:20 +00:00
{
public int Imm { get; private set; }
2018-02-04 23:08:20 +00:00
public AOpCodeSimdShImm(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
2018-02-04 23:08:20 +00:00
{
Imm = (OpCode >> 16) & 0x7f;
Size = ABitUtils.HighestBitSet32(Imm >> 3);
}
}
}