Sse optimized the Scalar & Vector fp-to-fp conversion instructions (MNPZ & IX); added the related Tests (AMNPZ & IX). Small refactoring of existing instructions. (#676)
* Nit. * Update InstEmitSimdCvt.cs * Update VectorHelper.cs * Update InstEmitSimdArithmetic.cs * Update CpuTestSimd.cs * Superseded.
This commit is contained in:
parent
0d69d8e6c1
commit
16de171c44
6 changed files with 628 additions and 677 deletions
|
@ -237,7 +237,9 @@ namespace ChocolArm64.Instructions
|
|||
{
|
||||
IOpCodeSimd64 op = (IOpCodeSimd64)context.CurrOp;
|
||||
|
||||
Type type = (op.Size & 1) == 0
|
||||
int sizeF = op.Size & 1;
|
||||
|
||||
Type type = sizeF == 0
|
||||
? typeof(SoftFloat32)
|
||||
: typeof(SoftFloat64);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue