zingen/masm/
float.rs

1//! Float Instructions
2
3use crate::{MacroAssembler, Result};
4
5impl MacroAssembler {
6    /// Maximum of two values
7    pub fn _max(&mut self) -> Result<()> {
8        todo!()
9    }
10
11    /// Minimum of two values
12    pub fn _min(&mut self) -> Result<()> {
13        todo!()
14    }
15
16    /// Ceiling operator
17    pub fn _ceil(&mut self) -> Result<()> {
18        todo!()
19    }
20
21    /// Floor operator
22    pub fn _floor(&mut self) -> Result<()> {
23        todo!()
24    }
25
26    /// Round to nearest integer, ties to even.
27    pub fn _nearest(&mut self) -> Result<()> {
28        todo!()
29    }
30
31    /// Square root
32    pub fn _sqrt(&mut self) -> Result<()> {
33        todo!()
34    }
35
36    /// Absolute value
37    pub fn _abs(&mut self) -> Result<()> {
38        todo!()
39    }
40
41    /// Negation
42    pub fn _neg(&mut self) -> Result<()> {
43        todo!()
44    }
45
46    /// If z1 and z2 have the same sign, return z1, otherwise
47    /// return z1 with negated sign.
48    pub fn _copysign(&mut self) -> Result<()> {
49        todo!()
50    }
51
52    /// Convert a signed 32-bit integer to a (32-bit/64-bit) float
53    pub fn _convert_i32_s(&mut self) -> Result<()> {
54        todo!()
55    }
56
57    /// Convert an unsigned 32-bit integer to a (32-bit/64-bit) float
58    pub fn _convert_i32_u(&mut self) -> Result<()> {
59        todo!()
60    }
61
62    /// Convert a signed 32-bit integer to a (32-bit/64-bit) float
63    pub fn _convert_i64_s(&mut self) -> Result<()> {
64        todo!()
65    }
66
67    /// Convert a unsigned 32-bit integer to a (32-bit/64-bit) float
68    pub fn _convert_i64_u(&mut self) -> Result<()> {
69        todo!()
70    }
71
72    /// Round to nearest integer towards zero
73    pub fn _trunc(&mut self) -> Result<()> {
74        todo!()
75    }
76}