mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-15 17:51:16 +01: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;
|
||
|
}
|
||
|
}
|
||
|
}
|