Improve V128 (#1097)
* Improve V128 * Use LayoutKind.Sequential instead * Add As<T>, Get<T> & Set<T> * Fix CpuTest * Rename Get<T> & Set<T> to Extract<T> & Insert<T> * Add XML documentation * Nit
This commit is contained in:
parent
dfecbbe1f4
commit
e4ee61d6c3
8 changed files with 288 additions and 200 deletions
|
@ -190,7 +190,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
Opcode(0xD65F03C0);
|
||||
ExecuteOpcodes();
|
||||
|
||||
Assert.That(GetContext().GetV(0).AsFloat(), Is.EqualTo(16f));
|
||||
Assert.That(GetContext().GetV(0).As<float>(), Is.EqualTo(16f));
|
||||
}
|
||||
|
||||
[Explicit]
|
||||
|
@ -236,7 +236,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
Opcode(0xD65F03C0);
|
||||
ExecuteOpcodes();
|
||||
|
||||
Assert.That(GetContext().GetV(0).AsDouble(), Is.EqualTo(16d));
|
||||
Assert.That(GetContext().GetV(0).As<double>(), Is.EqualTo(16d));
|
||||
}
|
||||
|
||||
[Test, Ignore("The Tester supports only one return point.")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue