From b1d5dc1058357cfc6fd425cd9978045b49792ee8 Mon Sep 17 00:00:00 2001 From: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Date: Wed, 1 Aug 2018 09:48:55 +0200 Subject: [PATCH] Update AInstEmitSimdHelper.cs --- ChocolArm64/Instruction/AInstEmitSimdHelper.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ChocolArm64/Instruction/AInstEmitSimdHelper.cs b/ChocolArm64/Instruction/AInstEmitSimdHelper.cs index e416f7e4d7..31848fdadc 100644 --- a/ChocolArm64/Instruction/AInstEmitSimdHelper.cs +++ b/ChocolArm64/Instruction/AInstEmitSimdHelper.cs @@ -1056,7 +1056,7 @@ namespace ChocolArm64.Instruction { if (SizeDst > 2) { - throw new PlatformNotSupportedException(); + throw new ArgumentOutOfRangeException(nameof(SizeDst)); } int ESize = 8 << SizeDst; @@ -1126,7 +1126,7 @@ namespace ChocolArm64.Instruction if (Op.Size < 3) { - throw new NotSupportedException(); + throw new InvalidOperationException(); } EmitVectorExtract(Context, Op.Rn, Index, 3, Signed); @@ -1206,7 +1206,7 @@ namespace ChocolArm64.Instruction if (Op.Size < 3) { - throw new NotSupportedException(); + throw new InvalidOperationException(); } EmitVectorExtract(Context, Op.Rn, Index, 3, Signed); @@ -1281,7 +1281,7 @@ namespace ChocolArm64.Instruction if (Op.Size < 3) { - throw new NotSupportedException(); + throw new InvalidOperationException(); } if (Signed)