From 9679896b9471afdebf860c016d3fd360b9af7f80 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 23 Feb 2019 20:52:48 -0300 Subject: Implement fixed-point variant of the UCVTF and SCVTF instructions (#578) * Add fixed-point variant of the UCVTF instruction * Change encoding of some fixed-point instructions to not allow invalid encodings * Fix Fcvtzu_Gp_Fixed encoding * Add SCVTF (fixed-point GP to Scalar) instruction * Simplify *Fixed encodings --- ChocolArm64/Decoders/OpCodeSimdCvt64.cs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ChocolArm64/Decoders/OpCodeSimdCvt64.cs') diff --git a/ChocolArm64/Decoders/OpCodeSimdCvt64.cs b/ChocolArm64/Decoders/OpCodeSimdCvt64.cs index eacd5940..3181a85a 100644 --- a/ChocolArm64/Decoders/OpCodeSimdCvt64.cs +++ b/ChocolArm64/Decoders/OpCodeSimdCvt64.cs @@ -8,18 +8,9 @@ namespace ChocolArm64.Decoders public OpCodeSimdCvt64(Inst inst, long position, int opCode) : base(inst, position, opCode) { - //TODO: - //Und of Fixed Point variants. int scale = (opCode >> 10) & 0x3f; int sf = (opCode >> 31) & 0x1; - /*if (Type != SF && !(Type == 2 && SF == 1)) - { - Emitter = AInstEmit.Und; - - return; - }*/ - FBits = 64 - scale; RegisterSize = sf != 0 -- cgit v1.2.3