xref: /llvm-project/clang/test/Driver/aarch64-i8mm.c (revision a0bf6400d1987e6e0a229de2f5e02d8cfa1d2fbf)
1 // The 8-bit integer matrix multiply extension is a mandatory component of the
2 // Armv8.6-A extensions, but is permitted as an optional feature for any
3 // implementation of Armv8.2-A to Armv8.5-A (inclusive)
4 // RUN: %clang --target=aarch64 -march=armv8.5a -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=NOI8MM %s
5 // RUN: %clang --target=aarch64 -march=armv8.5a+i8mm -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=I8MM %s
6 // RUN: %clang --target=aarch64 -march=armv8.6a -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=I8MM %s
7 
8 // I8MM: "target-features"="{{.*}},+i8mm
9 // NOI8MM-NOT: "target-features"="{{.*}},+i8mm
10 
test()11 void test() {}
12