Skip to content

Commit

Permalink
Fixed disassembly of Conv_R_Un opcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoFtZ committed Dec 9, 2024
1 parent 9cb1d25 commit 68b0f1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/ILGPU/Frontend/DisassemblerDriver.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ---------------------------------------------------------------------------------------
// ILGPU
// Copyright (c) 2018-2021 ILGPU Project
// Copyright (c) 2018-2024 ILGPU Project
// www.ilgpu.net
//
// File: DisassemblerDriver.cs
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 68b0f1c

Please sign in to comment.