1 // RUN: %clang -target powerpc64-unknown-unknown -mcpu=pwr6 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-PWR6
2 // RUN: %clang -target powerpc64-unknown-unknown -mcpu=a2 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-A2
3 // RUN: %clang -target powerpc64-unknown-unknown -mcpu=pwr7 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-PWR7
4 // RUN: %clang -target powerpc64le-unknown-unknown -mcpu=pwr8 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-PWR8
5 // RUN: %clang -target powerpc64-unknown-aix -mcpu=pwr9 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-PWR9
6 // RUN: %clang -target powerpc-unknown-aix -mcpu=pwr10 -S -emit-llvm %s -o - | FileCheck %s -check-prefix=CHECK-PWR10
8 // CHECK-PWR6: -isa-v206-instructions
9 // CHECK-PWR6: -isa-v207-instructions
10 // CHECK-PWR6: -isa-v30-instructions
12 // CHECK-A2: +isa-v206-instructions
13 // CHECK-A2: -isa-v207-instructions
14 // CHECK-A2: -isa-v30-instructions
16 // CHECK-PWR7: +isa-v206-instructions
17 // CHECK-PWR7: -isa-v207-instructions
18 // CHECK-PWR7: -isa-v30-instructions
20 // CHECK-PWR8: +isa-v207-instructions
21 // CHECK-PWR8: -isa-v30-instructions
23 // CHECK-PWR9: +isa-v207-instructions
24 // CHECK-PWR9: +isa-v30-instructions
26 // CHECK-PWR10: +isa-v207-instructions
27 // CHECK-PWR10: +isa-v30-instructions
28 // CHECK-PWR10: +isa-v31-instructions
30 int main(int argc
, char *argv
[]) {