Debian Codegraph @

clang/test/Driver/mips-cpus.c

raw
1 // Check target CPUs are correctly passed.
2
3 // RUN: %clang --target=mips64 -### -c %s 2>&1 -mcpu=i6400 | FileCheck -check-prefix=MCPU-I6400 %s
4 // MCPU-I6400: "-target-cpu" "i6400"
5 // MCPU-I6400: "-target-feature" "+msa" "-target-feature" "-noabicalls"
6
7 // RUN: %clang --target=mips64 -### -c %s 2>&1 -mcpu=i6500 | FileCheck -check-prefix=MCPU-I6500 %s
8 // MCPU-I6500: "-target-cpu" "i6500"
9 // MCPU-I6500: "-target-feature" "+msa" "-target-feature" "-noabicalls"