mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-23 23:42:05 +00:00
19 lines
440 B
C#
19 lines
440 B
C#
|
using ChocolArm64.Instructions;
|
||
|
|
||
|
namespace ChocolArm64.Decoders
|
||
|
{
|
||
|
class OpCodeSimdMemImm64 : OpCodeMemImm64, IOpCodeSimd64
|
||
|
{
|
||
|
public OpCodeSimdMemImm64(Inst inst, long position, int opCode) : base(inst, position, opCode)
|
||
|
{
|
||
|
Size |= (opCode >> 21) & 4;
|
||
|
|
||
|
if (!WBack && !Unscaled && Size >= 4)
|
||
|
{
|
||
|
Imm <<= 4;
|
||
|
}
|
||
|
|
||
|
Extend64 = false;
|
||
|
}
|
||
|
}
|
||
|
}
|