Auto merge of #30987 - antonblanchard:powerpc64_merge3, r=alexcrichton

We currently pass generic as the CPU to LLVM. This results in worse
than required code generation. On little endian, which is only POWER8,
we avoid many POWER4 and newer instructions.

Pass ppc64 and ppc64le instead.
This commit is contained in:
bors
2016-01-18 21:11:53 +00:00
2 changed files with 2 additions and 0 deletions
@@ -12,6 +12,7 @@
pub fn target() -> Target {
let mut base = super::linux_base::opts();
base.cpu = "ppc64".to_string();
base.pre_link_args.push("-m64".to_string());
Target {
@@ -12,6 +12,7 @@
pub fn target() -> Target {
let mut base = super::linux_base::opts();
base.cpu = "ppc64le".to_string();
base.pre_link_args.push("-m64".to_string());
Target {