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 0103d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/ILGPU/Frontend/DisassemblerDriver.cs
Original file line number Diff line number Diff line change
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 0103d21

Please sign in to comment.