aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Instructions/NativeInterface.cs
diff options
context:
space:
mode:
authorFicture Seven <FICTURE7@gmail.com>2020-04-17 02:19:20 +0400
committerGitHub <noreply@github.com>2020-04-17 08:19:20 +1000
commite4ee61d6c3984d108a9fd9e29c86dd154a04d0c5 (patch)
treea8fc7cdd10b00ae9cc3ff49bd31ea4a1074a4a06 /ARMeilleure/Instructions/NativeInterface.cs
parentdfecbbe1f46a10648c754aa5559f60661f2d1189 (diff)
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
Diffstat (limited to 'ARMeilleure/Instructions/NativeInterface.cs')
-rw-r--r--ARMeilleure/Instructions/NativeInterface.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/Instructions/NativeInterface.cs b/ARMeilleure/Instructions/NativeInterface.cs
index 4514c0da..610a1209 100644
--- a/ARMeilleure/Instructions/NativeInterface.cs
+++ b/ARMeilleure/Instructions/NativeInterface.cs
@@ -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;
}