Add MLA (vector by element), fixes some cases of MUL (vector by element)?
This commit is contained in:
parent
79a5939734
commit
88c6160c62
4 changed files with 17 additions and 5 deletions
|
@ -381,13 +381,16 @@ namespace ChocolArm64.Instruction
|
|||
}
|
||||
|
||||
EmitVectorExtract(Context, Op.Rn, Index, Op.Size, Signed);
|
||||
EmitVectorExtract(Context, Op.Rm, Index, Op.Size, Signed);
|
||||
EmitVectorExtract(Context, Op.Rm, Elem, Op.Size, Signed);
|
||||
|
||||
Emit();
|
||||
|
||||
EmitVectorInsert(Context, Op.Rd, Index, Op.Size);
|
||||
EmitVectorInsertTmp(Context, Index, Op.Size);
|
||||
}
|
||||
|
||||
Context.EmitLdvectmp();
|
||||
Context.EmitStvec(Op.Rd);
|
||||
|
||||
if (Op.RegisterSize == ARegisterSize.SIMD64)
|
||||
{
|
||||
EmitVectorZeroUpper(Context, Op.Rd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue