Add x86 implementation of splat instruction

This commit is contained in:
Andrew Brown
2019-07-11 13:21:36 -07:00
committed by Dan Gohman
parent 3b36a1d1d8
commit 084e279def
4 changed files with 173 additions and 2 deletions

View File

@@ -738,6 +738,12 @@ impl From<f64> for Ieee64 {
}
}
impl From<u64> for Ieee64 {
fn from(x: u64) -> Self {
Ieee64::with_float(f64::from_bits(x))
}
}
#[cfg(test)]
mod tests {
use super::*;