mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-30 07:57:10 +02:00
Emit CIL directly for more SIMD instructions, add UCVTF (vector, scalar) and UZP2, fix XTN (?)
This commit is contained in:
parent
d00e872888
commit
8e0785ca24
15 changed files with 674 additions and 1052 deletions
|
@ -2,17 +2,13 @@ using ChocolArm64.Instruction;
|
|||
|
||||
namespace ChocolArm64.Decoder
|
||||
{
|
||||
class AOpCodeSimdRegElem : AOpCodeSimd
|
||||
class AOpCodeSimdRegElem : AOpCodeSimdReg
|
||||
{
|
||||
public int Rm { get; private set; }
|
||||
public int Index { get; private set; }
|
||||
|
||||
public AOpCodeSimdRegElem(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
||||
{
|
||||
Rm = (OpCode >> 16) & 0x1f;
|
||||
Size = (OpCode >> 22) & 0x1;
|
||||
|
||||
if (Size != 0)
|
||||
if ((Size & 1) != 0)
|
||||
{
|
||||
Index = (OpCode >> 11) & 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue