Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signed right shift results in verifier treating unsigned value as signed #732

Open
Alan-Jowett opened this issue Oct 15, 2024 · 0 comments

Comments

@Alan-Jowett
Copy link
Contributor

Test case:

test-case: signed right shift

pre: ["r0.type=number", "r0.svalue=0", "r0.uvalue=0"]

code:
  <start>: |
    r0 = 0xfb000000
    r0 s>>= 0

post:
  - r0.type=number
  - r0.svalue=-83886080
  - r0.uvalue=18446744073625665536

Expected result:
Test should pass.

Actual result:

Unexpected properties:
 [
   r0.uvalue=-83886080]
Unseen properties:
 [
   r0.uvalue=18446744073625665536]
Unexpected messages: None
Unseen messages: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant