From 0103d2187f7bd0009f754085cb7516cdfd817b0f Mon Sep 17 00:00:00 2001 From: MoFtZ Date: Mon, 9 Dec 2024 12:29:47 +1100 Subject: [PATCH] Fixed disassembly of Conv_R_Un opcode. --- Src/ILGPU/Frontend/DisassemblerDriver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/ILGPU/Frontend/DisassemblerDriver.cs b/Src/ILGPU/Frontend/DisassemblerDriver.cs index 62604e96e..3a0338f7b 100644 --- a/Src/ILGPU/Frontend/DisassemblerDriver.cs +++ b/Src/ILGPU/Frontend/DisassemblerDriver.cs @@ -403,7 +403,7 @@ private bool TryDisasembleInstruction(ILOpCode opCode) AppendInstructionWithFlags(ILInstructionType.Conv, 1, 1, ILInstructionFlags.None, typeof(double)); return true; case ILOpCode.Conv_R_Un: - AppendInstructionWithFlags(ILInstructionType.Conv, 1, 1, ILInstructionFlags.Unsigned, typeof(double)); + AppendInstructionWithFlags(ILInstructionType.Conv, 1, 1, ILInstructionFlags.Unsigned, typeof(float)); return true; case ILOpCode.Conv_U1: AppendInstructionWithFlags(ILInstructionType.Conv, 1, 1, ILInstructionFlags.None, typeof(byte));