mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
Add support for Vector Floor on PowerPC
This commit is contained in:
parent
03a2aea4e9
commit
f52f1ab7e8
@ -233,6 +233,13 @@
|
||||
"llvm": "vexptefp",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
},
|
||||
{
|
||||
"intrinsic": "floor",
|
||||
"width": [128],
|
||||
"llvm": "vrfim",
|
||||
"ret": "f32",
|
||||
"args": ["0"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -407,6 +407,11 @@ pub fn find(name: &str) -> Option<Intrinsic> {
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vexptefp")
|
||||
},
|
||||
"_vec_floor" => Intrinsic {
|
||||
inputs: { static INPUTS: [&'static Type; 1] = [&::F32x4]; &INPUTS },
|
||||
output: &::F32x4,
|
||||
definition: Named("llvm.ppc.altivec.vrfim")
|
||||
},
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user