Address PR feedback.
This commit is contained in:
parent
e4611b6ddc
commit
0bfbb4894b
1 changed files with 8 additions and 0 deletions
|
@ -82,6 +82,14 @@ namespace ChocolArm64.Instructions
|
|||
|
||||
EmitScalarSetF(context, op.Rd, 0);
|
||||
}
|
||||
else if (op.Size == 1 && op.Opc == 3) // Double -> Half.
|
||||
{
|
||||
throw new NotImplementedException("Double-precision to half-precision.");
|
||||
}
|
||||
else if (op.Size == 3 && op.Opc == 1) // Double -> Half.
|
||||
{
|
||||
throw new NotImplementedException("Half-precision to double-precision.");
|
||||
}
|
||||
else // Invalid encoding.
|
||||
{
|
||||
throw new InvalidOperationException($"type == {op.Size} && opc == {op.Opc}");
|
||||
|
|
Loading…
Add table
Reference in a new issue