Update AInstEmitSimdHelper.cs
This commit is contained in:
parent
2dae7ecc7a
commit
5c9b5aa0cd
1 changed files with 4 additions and 1 deletions
|
@ -626,6 +626,9 @@ namespace ChocolArm64.Instruction
|
||||||
int Bytes = Op.GetBitsCount() >> 3;
|
int Bytes = Op.GetBitsCount() >> 3;
|
||||||
int Elems = Bytes >> Op.Size;
|
int Elems = Bytes >> Op.Size;
|
||||||
|
|
||||||
|
EmitVectorExtract(Context, Op.Rm, Elem, Op.Size, Signed);
|
||||||
|
Context.EmitSttmp();
|
||||||
|
|
||||||
for (int Index = 0; Index < Elems; Index++)
|
for (int Index = 0; Index < Elems; Index++)
|
||||||
{
|
{
|
||||||
if (Ternary)
|
if (Ternary)
|
||||||
|
@ -634,7 +637,7 @@ namespace ChocolArm64.Instruction
|
||||||
}
|
}
|
||||||
|
|
||||||
EmitVectorExtract(Context, Op.Rn, Index, Op.Size, Signed);
|
EmitVectorExtract(Context, Op.Rn, Index, Op.Size, Signed);
|
||||||
EmitVectorExtract(Context, Op.Rm, Elem, Op.Size, Signed);
|
Context.EmitLdtmp();
|
||||||
|
|
||||||
Emit();
|
Emit();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue