|
247 | 247 | // MCPU-SIFIVE-P450-SAME: "-target-feature" "+zbb"
|
248 | 248 | // MCPU-SIFIVE-P450-SAME: "-target-feature" "+zbs"
|
249 | 249 | // MCPU-SIFIVE-P450-SAME: "-target-abi" "lp64d"
|
250 |
| -// |
| 250 | + |
| 251 | +// RUN: %clang -target riscv64 -### -c %s 2>&1 -mcpu=sifive-p670 | FileCheck -check-prefix=MCPU-SIFIVE-P670 %s |
| 252 | +// MCPU-SIFIVE-P670: "-target-cpu" "sifive-p670" |
| 253 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+m" |
| 254 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+a" |
| 255 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+f" |
| 256 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+d" |
| 257 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+c" |
| 258 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+v" |
| 259 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zic64b" |
| 260 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zicbom" |
| 261 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zicbop" |
| 262 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zicboz" |
| 263 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+ziccamoa" |
| 264 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+ziccif" |
| 265 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zicclsm" |
| 266 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+ziccrse" |
| 267 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zicsr" |
| 268 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zifencei" |
| 269 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zihintntl" |
| 270 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zihintpause" |
| 271 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zihpm" |
| 272 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+za64rs" |
| 273 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zfhmin" |
| 274 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zba" |
| 275 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zbb" |
| 276 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zbs" |
| 277 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvbb" |
| 278 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvbc" |
| 279 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zve32f" |
| 280 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zve32x" |
| 281 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zve64d" |
| 282 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zve64f" |
| 283 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zve64x" |
| 284 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvkg" |
| 285 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvkn" |
| 286 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvknc" |
| 287 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvkned" |
| 288 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvkng" |
| 289 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvknhb" |
| 290 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvks" |
| 291 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvksc" |
| 292 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvksed" |
| 293 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvksg" |
| 294 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvksh" |
| 295 | +// MCPU-SIFIVE-P670-SAME: "-target-feature" "+zvkt" |
| 296 | +// MCPU-SIFIVE-P670-SAME: "-target-abi" "lp64d" |
| 297 | + |
251 | 298 | // Check failed cases
|
252 | 299 |
|
253 | 300 | // RUN: not %clang --target=riscv32 -### -c %s 2>&1 -mcpu=generic-rv321 | FileCheck -check-prefix=FAIL-MCPU-NAME %s
|
|
0 commit comments