Update AInstEmitSimdMove.cs
This commit is contained in:
parent
3b647cdeb0
commit
e97144f6b2
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ namespace ChocolArm64.Instruction
|
||||||
|
|
||||||
for (int Index = 0; Index < Elems; Index++)
|
for (int Index = 0; Index < Elems; Index++)
|
||||||
{
|
{
|
||||||
int Elem = Index - (Index & 1) + Part;
|
int Elem = (Index & ~1) + Part;
|
||||||
|
|
||||||
EmitVectorExtractZx(Context, (Index & 1) == 0 ? Op.Rn : Op.Rm, Elem, Op.Size);
|
EmitVectorExtractZx(Context, (Index & 1) == 0 ? Op.Rn : Op.Rm, Elem, Op.Size);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue