Skip to content

Commit 0906819

Browse files
committed
adjust asm test
1 parent 57d5f86 commit 0906819

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/assembly/x86-return-float.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,10 @@ pub unsafe fn call_other_f64(x: &mut (usize, f64)) {
305305
// CHECK-LABEL: return_f16:
306306
#[no_mangle]
307307
pub fn return_f16(x: f16) -> f16 {
308-
// CHECK: pinsrw $0, {{.*}}(%ebp), %xmm0
309-
// CHECK-NOT: xmm0
308+
// CHECK: pushl %ebp
309+
// CHECK: movl %esp, %ebp
310+
// CHECK: movzwl 8(%ebp), %eax
311+
// CHECK: popl %ebp
310312
// CHECK: retl
311313
x
312314
}

0 commit comments

Comments
 (0)