mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-02 15:26:29 +00:00

The default extensions would be better added in the TargetParser, not by the driver. This removes the addition of +i8mm and +bf16 features in the driver as they are already added in 8.6/9.1 architectures. AEK_MOPS and AEK_HBC have been added to 8.8/9.3 architectures to replace the need for +hbc and +mops features. Differential Revision: https://reviews.llvm.org/D141518
12 lines
653 B
C
12 lines
653 B
C
// The 8-bit integer matrix multiply extension is a mandatory component of the
|
|
// Armv8.6-A extensions, but is permitted as an optional feature for any
|
|
// implementation of Armv8.2-A to Armv8.5-A (inclusive)
|
|
// RUN: %clang -target aarch64 -march=armv8.5a -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=NOI8MM %s
|
|
// RUN: %clang -target aarch64 -march=armv8.5a+i8mm -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=I8MM %s
|
|
// RUN: %clang -target aarch64 -march=armv8.6a -S -o - -emit-llvm -c %s 2>&1 | FileCheck -check-prefix=I8MM %s
|
|
|
|
// I8MM: "target-features"="{{.*}},+i8mm
|
|
// NOI8MM-NOT: "target-features"="{{.*}},+i8mm
|
|
|
|
void test() {}
|