Add support for the Power8 and Power9 features on PowerPC
This commit is contained in:
parent
a1995d3973
commit
ade5ead38e
@ -80,7 +80,10 @@ unsafe fn configure_llvm(sess: &Session) {
|
||||
|
||||
const HEXAGON_WHITELIST: &'static [&'static str] = &["hvx\0", "hvx-double\0"];
|
||||
|
||||
const POWERPC_WHITELIST: &'static [&'static str] = &["altivec\0", "vsx\0"];
|
||||
const POWERPC_WHITELIST: &'static [&'static str] = &["altivec\0",
|
||||
"power8-altivec\0", "power9-altivec\0",
|
||||
"power8-vector\0", "power9-vector\0",
|
||||
"vsx\0"];
|
||||
|
||||
pub fn target_features(sess: &Session) -> Vec<Symbol> {
|
||||
let target_machine = create_target_machine(sess);
|
||||
|
Loading…
Reference in New Issue
Block a user