|
Lines 2-11
Link Here
|
| 2 |
|
2 |
|
| 3 |
pub fn target() -> Target { |
3 |
pub fn target() -> Target { |
| 4 |
let mut base = super::linux_gnu_base::opts(); |
4 |
let mut base = super::linux_gnu_base::opts(); |
| 5 |
base.cpu = "ppc64le".into(); |
5 |
base.cpu = "pwr9".into(); |
| 6 |
base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m64"]); |
6 |
base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m64"]); |
| 7 |
base.max_atomic_width = Some(64); |
7 |
base.max_atomic_width = Some(128); |
| 8 |
base.stack_probes = StackProbeType::Inline; |
8 |
base.stack_probes = StackProbeType::Inline; |
|
|
9 |
base.features = "+bpermd,+crbits,+extdiv,+isa-v206-instructions,\ |
| 10 |
+isa-v207-instructions,+isa-v30-instructions,+quadword-atomics,\ |
| 11 |
-altivec,-crypto,-direct-move,-float128,-htm,-mma,\ |
| 12 |
-paired-vector-memops,-power10-vector,-power8-vector,\ |
| 13 |
-power9-vector,-privileged,-rop-protect,-spe,-vsx".into(); |
| 9 |
|
14 |
|
| 10 |
Target { |
15 |
Target { |
| 11 |
llvm_target: "powerpc64le-unknown-linux-gnu".into(), |
16 |
llvm_target: "powerpc64le-unknown-linux-gnu".into(), |
| 12 |
- |
|
|