Skip to content

Comments

[clr-interp] Fix INTOP_CGT_UN_I8#118511

Merged
davidwrighton merged 1 commit intodotnet:mainfrom
davidwrighton:more_interpreter_fixes_3
Aug 8, 2025
Merged

[clr-interp] Fix INTOP_CGT_UN_I8#118511
davidwrighton merged 1 commit intodotnet:mainfrom
davidwrighton:more_interpreter_fixes_3

Conversation

@davidwrighton
Copy link
Member

It was treating its inputs as 4 byte integers instead of 8 byte integers

It was treating its inputs as 4 byte integers instead of 8 byte integers
Copilot AI review requested due to automatic review settings August 8, 2025 00:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug in the CLR interpreter where the INTOP_CGT_UN_I8 operation was incorrectly treating 8-byte integer inputs as 4-byte integers, causing incorrect comparison results.

Key Changes

  • Corrected the data types in the unsigned 8-byte integer comparison operation from uint32_t to uint64_t

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

@davidwrighton davidwrighton enabled auto-merge (squash) August 8, 2025 01:11
@davidwrighton davidwrighton merged commit 4bbd32d into dotnet:main Aug 8, 2025
93 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants