// option. This file may not be copied, modified, or distributed
// except according to those terms.
-#![crate_name = "rustc_platform_intrinsics"]
-#![crate_type = "dylib"]
-#![crate_type = "rlib"]
#![deny(warnings)]
#![allow(bad_style)]
mod aarch64;
mod nvptx;
mod hexagon;
+mod powerpc;
impl Intrinsic {
pub fn find(name: &str) -> Option<Intrinsic> {
nvptx::find(name)
} else if name.starts_with("Q6_") {
hexagon::find(name)
+ } else if name.starts_with("powerpc_") {
+ powerpc::find(name)
} else {
None
}