]>
Commit | Line | Data |
---|---|---|
29967ef6 | 1 | use crate::spec::Target; |
32a655c1 | 2 | |
29967ef6 XL |
3 | pub fn target() -> Target { |
4 | let mut base = super::linux_gnu_base::opts(); | |
5 | base.endian = "big".to_string(); | |
32a655c1 SL |
6 | base.cpu = "v9".to_string(); |
7 | base.max_atomic_width = Some(64); | |
32a655c1 | 8 | |
29967ef6 | 9 | Target { |
32a655c1 | 10 | llvm_target: "sparc64-unknown-linux-gnu".to_string(), |
29967ef6 | 11 | pointer_width: 64, |
32a655c1 SL |
12 | data_layout: "E-m:e-i64:64-n32:64-S128".to_string(), |
13 | arch: "sparc64".to_string(), | |
32a655c1 | 14 | options: base, |
29967ef6 | 15 | } |
32a655c1 | 16 | } |