Skip to content

Commit

Permalink
Update filetests
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottt committed Oct 7, 2022
1 parent 39fa441 commit 0ff1557
Show file tree
Hide file tree
Showing 140 changed files with 6,761 additions and 7,309 deletions.
2 changes: 1 addition & 1 deletion cranelift/filetests/filetests/isa/aarch64/atomic-cas.clif
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ block0(v0: i64, v1: i32, v2: i32):
; mov x28, x2
; atomic_cas_loop_32 addr=x25, expect=x26, replacement=x28, oldval=x27, scratch=x24
; subs wzr, w27, w26
; cset x8, eq
; csetm x8, eq
; and w0, w8, #1
; ldp x24, x25, [sp], #16
; ldp x26, x27, [sp], #16
Expand Down
18 changes: 9 additions & 9 deletions cranelift/filetests/filetests/isa/aarch64/bitops.clif
Original file line number Diff line number Diff line change
Expand Up @@ -304,28 +304,28 @@ block0(v0: i8):
; umov w0, v5.b[0]
; ret

function %bextend_b8() -> b32 {
function %bextend_i8() -> i32 {
block0:
v1 = bconst.b8 true
v2 = bextend.b32 v1
v1 = iconst.i8 -1
v2 = bextend.i32 v1
return v2
}

; block0:
; movz x1, #255
; movn x1, #0
; sxtb w0, w1
; ret

function %bextend_b1() -> b32 {
function %bextend_i8() -> i32 {
block0:
v1 = bconst.b1 true
v2 = bextend.b32 v1
v1 = iconst.i8 -1
v2 = bextend.i32 v1
return v2
}

; block0:
; movz x1, #1
; sbfx w0, w1, #0, #1
; movn x1, #0
; sxtb w0, w1
; ret

function %bnot_i32(i32) -> i32 {
Expand Down
Loading

0 comments on commit 0ff1557

Please sign in to comment.