221
|
1 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
|
|
2 // RUN: -mcpu=pwr10 -mmma %s 2>&1 | FileCheck %s --check-prefix=HASMMA
|
|
3 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
|
|
4 // RUN: -mcpu=power10 -mmma %s 2>&1 | FileCheck %s --check-prefix=HASMMA
|
|
5
|
|
6 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
|
|
7 // RUN: -mcpu=pwr9 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
|
|
8 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
|
|
9 // RUN: -mcpu=pwr8 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
|
|
10 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
|
|
11 // RUN: -mcpu=pwr7 -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
|
|
12 // RUN: not %clang -target powerpc64le-unknown-linux-gnu -fsyntax-only \
|
|
13 // RUN: -mmma %s 2>&1 | FileCheck %s --check-prefix=NOMMA
|
|
14
|
|
15 #ifdef __MMA__
|
|
16 static_assert(false, "MMA enabled");
|
|
17 #endif
|
|
18
|
|
19 // HASMMA: MMA enabled
|
|
20 // HASMMA-NOT: option '-mmma' cannot be specified with
|
|
21 // NOMMA: option '-mmma' cannot be specified with
|
|
22
|