bjorn3 commented on issue #3057:
With this writing
TargetIsa
to a clif file can be done using:for flag in isa.flags().iter() { writeln!(file, "set {}", flag)?; // FIXME hide default flags } write!(file, "target {}", isa.triple().architecture.to_string())?; for isa_flag in isa.isa_flags().iter() { write!(file, " {}", isa_flag)?; } writeln!(file, "\n")?;
bjorn3 edited a comment on issue #3057:
With this writing
TargetIsa
to a clif file can be done using:for flag in isa.flags().iter() { writeln!(file, "set {}", flag)?; } write!(file, "target {}", isa.triple().architecture.to_string())?; for isa_flag in isa.isa_flags().iter() { write!(file, " {}", isa_flag)?; } writeln!(file, "\n")?;
Last updated: Dec 23 2024 at 13:07 UTC