(&mut self)
| 842 | } |
| 843 | |
| 844 | fn visit_f64_ceil(&mut self) -> Self::Output { |
| 845 | self.masm.float_round( |
| 846 | RoundingMode::Up, |
| 847 | &mut self.env, |
| 848 | &mut self.context, |
| 849 | OperandSize::S64, |
| 850 | |env, cx, masm| { |
| 851 | let builtin = env.builtins.ceil_f64::<M::ABI>()?; |
| 852 | FnCall::emit::<M>(env, masm, cx, Callee::Builtin(builtin)) |
| 853 | }, |
| 854 | )?; |
| 855 | let result = self.context.pop_to_reg(self.masm, None)?; |
| 856 | self.masm |
| 857 | .maybe_canonicalize_nan(writable!(result.into()), OperandSize::S64)?; |
| 858 | self.context.stack.push(result.into()); |
| 859 | Ok(()) |
| 860 | } |
| 861 | |
| 862 | fn visit_f32_nearest(&mut self) -> Self::Output { |
| 863 | self.masm.float_round( |
nothing calls this directly
no test coverage detected