adjust asm test
This commit is contained in:
parent
57d5f864e3
commit
09068192f8
@ -305,8 +305,10 @@ pub unsafe fn call_other_f64(x: &mut (usize, f64)) {
|
|||||||
// CHECK-LABEL: return_f16:
|
// CHECK-LABEL: return_f16:
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn return_f16(x: f16) -> f16 {
|
pub fn return_f16(x: f16) -> f16 {
|
||||||
// CHECK: pinsrw $0, {{.*}}(%ebp), %xmm0
|
// CHECK: pushl %ebp
|
||||||
// CHECK-NOT: xmm0
|
// CHECK: movl %esp, %ebp
|
||||||
|
// CHECK: movzwl 8(%ebp), %eax
|
||||||
|
// CHECK: popl %ebp
|
||||||
// CHECK: retl
|
// CHECK: retl
|
||||||
x
|
x
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user