Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan Jowett committed Oct 16, 2024
1 parent ea2278b commit 00440a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
11 changes: 3 additions & 8 deletions test-data/sdivmod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -573,17 +573,12 @@ post:
---
test-case: Inverted range after modulo

pre: [r0.type=number]
pre: ["r0.type=number",
"r0.svalue=[32768, 9223372036854775807]"]

code:
<start>: |
if r0 s< 0x8000 goto <reset>
r0 %= 0x808
goto <exit>
<reset>: |
r0 = 0
<exit>: |
exit
r0 s%= 0x808
post:
- r0.type=number
Expand Down
9 changes: 2 additions & 7 deletions test-data/udivmod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -577,17 +577,12 @@ post:
---
test-case: Inverted range after modulo

pre: [r0.type=number]
pre: ["r0.type=number",
"r0.uvalue=[32768, 9223372036854775807]"]

code:
<start>: |
if r0 s< 0x8000 goto <reset>
r0 %= 0x808
goto <exit>
<reset>: |
r0 = 0
<exit>: |
exit
post:
- r0.type=number
Expand Down

0 comments on commit 00440a6

Please sign in to comment.