diff --git a/cranelift/filetests/filetests/isa/pulley32/call.clif b/cranelift/filetests/filetests/isa/pulley32/call.clif index 8060a8c0c387..8b4799b13581 100644 --- a/cranelift/filetests/filetests/isa/pulley32/call.clif +++ b/cranelift/filetests/filetests/isa/pulley32/call.clif @@ -173,7 +173,7 @@ block0: ; xmov x12, x15 ; xmov x13, x15 ; xmov x14, x15 -; call4 x15, x15, x15, x15, 0x0 // target = 0x44 +; call4 x15, x15, x15, x15, 0x0 // target = 0x40 ; pop_frame_restore 48, ; ret @@ -256,7 +256,7 @@ block0: ; Disassembled: ; push_frame_save 112, x17, x18, x20, x21, x22, x23, x29 ; xmov x12, sp -; call1 x12, 0x0 // target = 0xc +; call1 x12, 0x0 // target = 0x8 ; xmov x20, x13 ; xmov x22, x11 ; xload64le_offset8 x29, sp, 0 diff --git a/cranelift/filetests/filetests/isa/pulley64/call.clif b/cranelift/filetests/filetests/isa/pulley64/call.clif index eaa1bdf290c6..1b4ac0278d4e 100644 --- a/cranelift/filetests/filetests/isa/pulley64/call.clif +++ b/cranelift/filetests/filetests/isa/pulley64/call.clif @@ -173,7 +173,7 @@ block0: ; xmov x12, x15 ; xmov x13, x15 ; xmov x14, x15 -; call4 x15, x15, x15, x15, 0x0 // target = 0x44 +; call4 x15, x15, x15, x15, 0x0 // target = 0x40 ; pop_frame_restore 48, ; ret @@ -256,7 +256,7 @@ block0: ; Disassembled: ; push_frame_save 112, x17, x18, x20, x21, x22, x23, x29 ; xmov x12, sp -; call1 x12, 0x0 // target = 0xc +; call1 x12, 0x0 // target = 0x8 ; xmov x20, x13 ; xmov x22, x11 ; xload64le_offset8 x29, sp, 0 @@ -379,7 +379,7 @@ block0: ; xmov x12, x15 ; xmov x13, x15 ; xmov x14, x15 -; call4 x15, x15, x15, x15, 0x0 // target = 0x4c +; call4 x15, x15, x15, x15, 0x0 // target = 0x48 ; pop_frame_restore 64, ; ret diff --git a/tests/disas/pulley/epoch-simple.wat b/tests/disas/pulley/epoch-simple.wat index bb8bfccd98b0..666c5ae4141b 100644 --- a/tests/disas/pulley/epoch-simple.wat +++ b/tests/disas/pulley/epoch-simple.wat @@ -14,5 +14,5 @@ ;; br_if_xulteq64 x6, x7, 0x9 // target = 0x1a ;; 18: pop_frame ;; ret -;; 1a: call 0x9c // target = 0xb6 +;; 1a: call 0x94 // target = 0xae ;; 1f: jump 0xfffffffffffffff9 // target = 0x18