mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-21 23:50:52 -05:00
Move solution and projects to src
This commit is contained in:
18
src/ARMeilleure/Decoders/OpCodeSimdShImm.cs
Normal file
18
src/ARMeilleure/Decoders/OpCodeSimdShImm.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using ARMeilleure.Common;
|
||||
|
||||
namespace ARMeilleure.Decoders
|
||||
{
|
||||
class OpCodeSimdShImm : OpCodeSimd
|
||||
{
|
||||
public int Imm { get; }
|
||||
|
||||
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeSimdShImm(inst, address, opCode);
|
||||
|
||||
public OpCodeSimdShImm(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
||||
{
|
||||
Imm = (opCode >> 16) & 0x7f;
|
||||
|
||||
Size = BitUtils.HighestBitSetNibble(Imm >> 3);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user