mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 17:07:10 +02:00
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
d00f6f0722
commit
dac56cfb1e
8 changed files with 288 additions and 200 deletions
|
@ -663,8 +663,8 @@ namespace ARMeilleure.Memory
|
|||
|
||||
public void WriteVector128(long position, V128 value)
|
||||
{
|
||||
WriteUInt64(position + 0, value.GetUInt64(0));
|
||||
WriteUInt64(position + 8, value.GetUInt64(1));
|
||||
WriteUInt64(position + 0, value.Extract<ulong>(0));
|
||||
WriteUInt64(position + 8, value.Extract<ulong>(1));
|
||||
}
|
||||
|
||||
public void WriteBytes(long position, byte[] data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue