diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-22 09:46:11 +0100 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-10-22 12:21:00 +0100 | 
| commit | 09068192f86e84bb0dddc105c9f7cc1971684fb7 (patch) | |
| tree | da7b52a193c92efd89171dbd9defc15776388ecc | |
| parent | 57d5f864e3ff87d7e5ba06f6175c9aa50d576848 (diff) | |
| download | rust-09068192f86e84bb0dddc105c9f7cc1971684fb7.tar.gz rust-09068192f86e84bb0dddc105c9f7cc1971684fb7.zip  | |
adjust asm test
| -rw-r--r-- | tests/assembly/x86-return-float.rs | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/assembly/x86-return-float.rs b/tests/assembly/x86-return-float.rs index 30c5e869633..acd1af8d38a 100644 --- a/tests/assembly/x86-return-float.rs +++ b/tests/assembly/x86-return-float.rs @@ -305,8 +305,10 @@ pub unsafe fn call_other_f64(x: &mut (usize, f64)) { // CHECK-LABEL: return_f16: #[no_mangle] pub fn return_f16(x: f16) -> f16 { - // CHECK: pinsrw $0, {{.*}}(%ebp), %xmm0 - // CHECK-NOT: xmm0 + // CHECK: pushl %ebp + // CHECK: movl %esp, %ebp + // CHECK: movzwl 8(%ebp), %eax + // CHECK: popl %ebp // CHECK: retl x }  | 
