Lines Matching full:target

3 // RUN: %clang --target=mips-linux-gnu -### -c %s 2>&1 \
5 // RUN: %clang --target=mips64-linux-gnu -mips32r2 -mabi=32 -### -c %s 2>&1 \
7 // MIPS32R2-O32: "-target-cpu" "mips32r2"
8 // MIPS32R2-O32: "-target-abi" "o32"
10 // RUN: %clang --target=mips64-linux-gnu -### -c %s 2>&1 \
12 // RUN: %clang --target=mips-img-linux-gnu -mips64r2 -### -c %s 2>&1 \
14 // RUN: %clang --target=mips-mti-linux-gnu -mips64r2 -### -c %s 2>&1 \
16 // RUN: %clang --target=mips-linux-gnu -mips64r2 -mabi=64 -### -c %s 2>&1 \
18 // MIPS64R2-N64: "-target-cpu" "mips64r2"
19 // MIPS64R2-N64: "-target-abi" "n64"
21 // RUN: %clang --target=mips64-linux-gnu -### -mips64r3 -c %s 2>&1 \
23 // RUN: %clang --target=mips-img-linux-gnu -mips64r3 -### -c %s 2>&1 \
25 // RUN: %clang --target=mips-mti-linux-gnu -mips64r3 -### -c %s 2>&1 \
27 // MIPS64R3-N64: "-target-cpu" "mips64r3"
28 // MIPS64R3-N64: "-target-abi" "n64"
30 // RUN: %clang --target=mips-linux-gnu -### -c %s \
33 // MIPS-ABI-32: "-target-cpu" "mips32r2"
34 // MIPS-ABI-32: "-target-abi" "o32"
36 // RUN: %clang --target=mips-linux-gnu -### -c %s \
39 // MIPS-ABI-O32: "-target-cpu" "mips32r2"
40 // MIPS-ABI-O32: "-target-abi" "o32"
42 // RUN: %clang --target=mips-linux-gnu -### -c %s \
45 // MIPS-ABI-N32: "-target-cpu" "mips64r2"
46 // MIPS-ABI-N32: "-target-abi" "n32"
48 // RUN: %clang --target=mips64-linux-gnu -### -c %s \
51 // MIPS-ABI-64: "-target-cpu" "mips64r2"
52 // MIPS-ABI-64: "-target-abi" "n64"
54 // RUN: %clang --target=mips64-linux-gnu -### -c %s \
57 // MIPS-ABI-N64: "-target-cpu" "mips64r2"
58 // MIPS-ABI-N64: "-target-abi" "n64"
60 // RUN: not %clang --target=mips64-linux-gnu -c %s \
63 // MIPS-ABI-O64: error: unknown target ABI 'o64'
65 // RUN: not %clang --target=mips-linux-gnu -c %s \
68 // MIPS-ABI-UNKNOWN: error: unknown target ABI 'unknown'
70 // RUN: %clang --target=mips-linux-gnu -### -c %s \
73 // MIPS-ARCH-1: "-target-cpu" "mips1"
74 // MIPS-ARCH-1: "-target-abi" "o32"
76 // RUN: %clang --target=mips-linux-gnu -### -c %s \
79 // MIPS-ARCH-2: "-target-cpu" "mips2"
80 // MIPS-ARCH-2: "-target-abi" "o32"
82 // RUN: %clang --target=mips-linux-gnu -### -c %s \
85 // MIPS-ARCH-3: "-target-cpu" "mips3"
86 // MIPS-ARCH-3: "-target-abi" "o32"
88 // RUN: %clang --target=mips-linux-gnu -### -c %s \
91 // MIPS-ARCH-4: "-target-cpu" "mips4"
92 // MIPS-ARCH-4: "-target-abi" "o32"
94 // RUN: %clang --target=mips-linux-gnu -### -c %s \
97 // MIPS-ARCH-5: "-target-cpu" "mips5"
98 // MIPS-ARCH-5: "-target-abi" "o32"
100 // RUN: %clang --target=mips-linux-gnu -### -c %s \
103 // MIPS-ARCH-32: "-target-cpu" "mips32"
104 // MIPS-ARCH-32: "-target-abi" "o32"
106 // RUN: %clang --target=mips-linux-gnu -### -c %s \
109 // MIPS-ARCH-32R2: "-target-cpu" "mips32r2"
110 // MIPS-ARCH-32R2: "-target-abi" "o32"
112 // RUN: %clang --target=mips-linux-gnu -### -c %s \
115 // MIPS-ARCH-P5600: "-target-cpu" "p5600"
116 // MIPS-ARCH-P5600: "-target-abi" "o32"
118 // RUN: not %clang --target=mips-linux-gnu -c %s \
123 // RUN: %clang --target=mips-linux-gnu -### -c %s \
126 // MIPS-ARCH-3264: "-target-cpu" "mips64"
127 // MIPS-ARCH-3264: "-target-abi" "o32"
129 // RUN: %clang --target=mips64-linux-gnu -### -c %s \
132 // MIPS-ARCH-64: "-target-cpu" "mips64"
133 // MIPS-ARCH-64: "-target-abi" "n64"
135 // RUN: %clang --target=mips64-linux-gnu -### -c %s \
138 // MIPS-ARCH-64R2: "-target-cpu" "mips64r2"
139 // MIPS-ARCH-64R2: "-target-abi" "n64"
141 // RUN: %clang --target=mips64-linux-gnu -### -c %s \
144 // MIPS-ARCH-OCTEON: "-target-cpu" "octeon"
145 // MIPS-ARCH-OCTEON: "-target-abi" "n64"
147 // RUN: %clang --target=mips64-linux-gnu -### -c %s \
150 // MIPS-ARCH-OCTEONP: "-target-cpu" "octeon+"
151 // MIPS-ARCH-OCTEONP: "-target-abi" "n64"
153 // RUN: not %clang --target=mips64-linux-gnu -c %s \
158 // RUN: not %clang --target=mips-linux-gnu -c %s \
161 // MIPS-ARCH-UNKNOWN: error: unknown target CPU 'unknown'
163 // Check adjusting of target triple accordingly to `-mabi` option.
164 // RUN: %clang --target=mips64-linux-gnuabi64 -mabi=32 -### %s 2>&1 \
165 // RUN: | FileCheck -check-prefix=TARGET-O32 %s
166 // TARGET-O32: "-triple" "mips-unknown-linux-gnu"
167 // TARGET-O32: "-target-cpu" "mips32r2"
168 // TARGET-O32: "-target-abi" "o32"
169 // TARGET-O32: ld{{(.exe)?}}"
170 // TARGET-O32: "-m" "elf32btsmip"
172 // RUN: %clang --target=mips-linux-gnu -mabi=n32 -### %s 2>&1 \
173 // RUN: | FileCheck -check-prefix=TARGET-N32 %s
174 // TARGET-N32: "-triple" "mips64-unknown-linux-gnuabin32"
175 // TARGET-N32: "-target-cpu" "mips64r2"
176 // TARGET-N32: "-target-abi" "n32"
177 // TARGET-N32: ld{{(.exe)?}}"
178 // TARGET-N32: "-m" "elf32btsmipn32"
180 // RUN: %clang --target=mips-linux-gnu -mabi=64 -### %s 2>&1 \
181 // RUN: | FileCheck -check-prefix=TARGET-N64 %s
182 // TARGET-N64: "-triple" "mips64-unknown-linux-gnuabi64"
183 // TARGET-N64: "-target-cpu" "mips64r2"
184 // TARGET-N64: "-target-abi" "n64"
185 // TARGET-N64: ld{{(.exe)?}}"
186 // TARGET-N64: "-m" "elf64btsmip"