Skip to content

Commit

Permalink
fix filecheck to print unsigned values when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLydike committed May 14, 2024
1 parent 353c4f8 commit 87a761f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/filecheck/rv32m-conv.asm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ main:
// CHECK: register a0 contains value 0
li a2, 2
mulh a0, a1, a2
print.hex a0
print.uhex a0
// CHECK-NEXT: register a0 contains value 0xffffffff

// test mulhu
Expand All @@ -20,12 +20,12 @@ main:
// CHECK: register a0 contains value 1

mulhu a0, a1, a1
print.hex a0
print.uhex a0
// CHECK-NEXT: register a0 contains value 0xfffffffe

// test mulhsu
mulhsu a0, a1, a2
print.hex a0
print.uhex a0
// CHECK: register a0 contains value 0xffffffff

mulhsu a0, a2, a1
Expand Down

0 comments on commit 87a761f

Please sign in to comment.