ptx_parser/type/instruction/
rcp.rs1#![allow(unused)]
9use crate::r#type::common::*;
10
11pub mod section_0 {
12 use crate::Spanned;
13 use crate::parser::Span;
14 use crate::r#type::common::*;
15
16 use serde::Serialize;
17
18 #[derive(Debug, Clone, PartialEq, Serialize)]
19 pub enum Rnd {
20 Rn, Rz, Rm, Rp, }
25
26 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
27 pub struct RcpApproxFtzF32 {
28 pub approx: (), pub ftz: bool, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
34 }
35
36 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
37 pub struct RcpRndFtzF32 {
38 pub rnd: Rnd, pub ftz: bool, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
44 }
45
46 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
47 pub struct RcpRndF64 {
48 pub rnd: Rnd, pub f64: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
53 }
54}
55
56pub use section_0::RcpApproxFtzF32;
59pub use section_0::RcpRndF64;
60pub use section_0::RcpRndFtzF32;
61pub use section_0::Rnd as Rnd0;