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
|
@ -245,8 +245,8 @@ namespace ARMeilleure.Instructions
|
|||
V128 value = _context.Memory.AtomicLoadInt128((long)address);
|
||||
|
||||
_context.ExclusiveAddress = GetMaskedExclusiveAddress(address);
|
||||
_context.ExclusiveValueLow = value.GetUInt64(0);
|
||||
_context.ExclusiveValueHigh = value.GetUInt64(1);
|
||||
_context.ExclusiveValueLow = value.Extract<ulong>(0);
|
||||
_context.ExclusiveValueHigh = value.Extract<ulong>(1);
|
||||
|
||||
return value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue