Update AInstEmitSimdMove.cs

This commit is contained in:
LDj3SNuD 2018-04-12 16:21:24 +02:00 committed by GitHub
parent 3b647cdeb0
commit e97144f6b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -335,7 +335,7 @@ namespace ChocolArm64.Instruction
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);