(&mut self)
| 914 | } |
| 915 | |
| 916 | fn visit_f64_trunc(&mut self) -> Self::Output { |
| 917 | self.masm.float_round( |
| 918 | RoundingMode::Zero, |
| 919 | &mut self.env, |
| 920 | &mut self.context, |
| 921 | OperandSize::S64, |
| 922 | |env, cx, masm| { |
| 923 | let builtin = env.builtins.trunc_f64::<M::ABI>()?; |
| 924 | FnCall::emit::<M>(env, masm, cx, Callee::Builtin(builtin)) |
| 925 | }, |
| 926 | )?; |
| 927 | let result = self.context.pop_to_reg(self.masm, None)?; |
| 928 | self.masm |
| 929 | .maybe_canonicalize_nan(writable!(result.into()), OperandSize::S64)?; |
| 930 | self.context.stack.push(result.into()); |
| 931 | Ok(()) |
| 932 | } |
| 933 | |
| 934 | fn visit_f32_sqrt(&mut self) -> Self::Output { |
| 935 | self.context.unop(self.masm, |masm, reg| { |
nothing calls this directly
no test coverage detected