From f9f111bc85a4735391a8479e9a8d36a30ae7f3a9 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Fri, 11 May 2018 20:10:27 -0300 Subject: Add intrinsics support (#121) * Initial intrinsics support * Update tests to work with the new Vector128 type and intrinsics * Drop SSE4.1 requirement * Fix copy-paste mistake --- ChocolArm64/Translation/AILEmitter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ChocolArm64/Translation') diff --git a/ChocolArm64/Translation/AILEmitter.cs b/ChocolArm64/Translation/AILEmitter.cs index 55b1751f..8c780535 100644 --- a/ChocolArm64/Translation/AILEmitter.cs +++ b/ChocolArm64/Translation/AILEmitter.cs @@ -3,6 +3,7 @@ using ChocolArm64.State; using System; using System.Collections.Generic; using System.Reflection.Emit; +using System.Runtime.Intrinsics; namespace ChocolArm64.Translation { @@ -157,7 +158,7 @@ namespace ChocolArm64.Translation { case ARegisterType.Flag: return typeof(bool); case ARegisterType.Int: return typeof(ulong); - case ARegisterType.Vector: return typeof(AVec); + case ARegisterType.Vector: return typeof(Vector128); } throw new ArgumentException(nameof(RegType)); -- cgit v1.2.3