Skip to content

Commit

Permalink
Fix test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Dec 19, 2024
1 parent 2232dba commit a362f30
Showing 1 changed file with 25 additions and 26 deletions.
51 changes: 25 additions & 26 deletions cranelift/filetests/filetests/isa/pulley64/shifts.clif
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ block0(v0: i32):

; VCode:
; block0:
; xshl32_u8 x0, x0, 7
; xshl32_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshl32_u8 x0, x0, 7
; xshl32_u6 x0, x0, 7
; ret

function %i32_imm2(i32) -> i32 {
Expand All @@ -24,14 +24,13 @@ block0(v0: i32):

; VCode:
; block0:
; xshl32_u8 x0, x0, 7
; xshl32_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshl32_u8 x0, x0, 7
; xshl32_u6 x0, x0, 7
; ret


function %i64_imm(i64) -> i64 {
block0(v0: i64):
v2 = ishl_imm v0, 7
Expand All @@ -40,11 +39,11 @@ block0(v0: i64):

; VCode:
; block0:
; xshl64_u8 x0, x0, 7
; xshl64_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshl64_u8 x0, x0, 7
; xshl64_u6 x0, x0, 7
; ret

function %i64_imm2(i64) -> i64 {
Expand All @@ -55,14 +54,13 @@ block0(v0: i64):

; VCode:
; block0:
; xshl64_u8 x0, x0, 7
; xshl64_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshl64_u8 x0, x0, 7
; xshl64_u6 x0, x0, 7
; ret


function %i32_ushr_imm(i32) -> i32 {
block0(v0: i32):
v2 = ushr_imm v0, 7
Expand All @@ -71,11 +69,11 @@ block0(v0: i32):

; VCode:
; block0:
; xshr32_u_u8 x0, x0, 7
; xshr32_u_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr32_u_u8 x0, x0, 7
; xshr32_u_u6 x0, x0, 7
; ret

function %i32_ushr_imm2(i32) -> i32 {
Expand All @@ -86,11 +84,11 @@ block0(v0: i32):

; VCode:
; block0:
; xshr32_u_u8 x0, x0, 7
; xshr32_u_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr32_u_u8 x0, x0, 7
; xshr32_u_u6 x0, x0, 7
; ret

function %i64_ushr_imm(i64) -> i64 {
Expand All @@ -101,11 +99,11 @@ block0(v0: i64):

; VCode:
; block0:
; xshr64_u_u8 x0, x0, 7
; xshr64_u_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr64_u_u8 x0, x0, 7
; xshr64_u_u6 x0, x0, 7
; ret

function %i64_ushr_imm2(i64) -> i64 {
Expand All @@ -116,11 +114,11 @@ block0(v0: i64):

; VCode:
; block0:
; xshr64_u_u8 x0, x0, 7
; xshr64_u_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr64_u_u8 x0, x0, 7
; xshr64_u_u6 x0, x0, 7
; ret

function %i32_sshr_imm(i32) -> i32 {
Expand All @@ -131,11 +129,11 @@ block0(v0: i32):

; VCode:
; block0:
; xshr32_s_u8 x0, x0, 7
; xshr32_s_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr32_s_u8 x0, x0, 7
; xshr32_s_u6 x0, x0, 7
; ret

function %i32_sshr_imm2(i32) -> i32 {
Expand All @@ -146,11 +144,11 @@ block0(v0: i32):

; VCode:
; block0:
; xshr32_s_u8 x0, x0, 7
; xshr32_s_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr32_s_u8 x0, x0, 7
; xshr32_s_u6 x0, x0, 7
; ret

function %i64_sshr_imm(i64) -> i64 {
Expand All @@ -161,11 +159,11 @@ block0(v0: i64):

; VCode:
; block0:
; xshr64_s_u8 x0, x0, 7
; xshr64_s_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr64_s_u8 x0, x0, 7
; xshr64_s_u6 x0, x0, 7
; ret

function %i64_sshr_imm2(i64) -> i64 {
Expand All @@ -176,9 +174,10 @@ block0(v0: i64):

; VCode:
; block0:
; xshr64_s_u8 x0, x0, 7
; xshr64_s_u6 x0, x0, 7
; ret
;
; Disassembled:
; xshr64_s_u8 x0, x0, 7
; xshr64_s_u6 x0, x0, 7
; ret

0 comments on commit a362f30

Please sign in to comment.