1*26ae3166Syingopq // RUN: %clang -### -c --target=mips64el-unknown-linux-gnuabi64 \ 2*26ae3166Syingopq // RUN: -Wa,-mmsa %s -Werror 2>&1 | FileCheck %s --check-prefix=CHECK-MMSA 3*26ae3166Syingopq // CHECK-MMSA: "-cc1" {{.*}}"-mmsa" 4*26ae3166Syingopq 5*26ae3166Syingopq // RUN: %clang -### -c --target=mips64el-unknown-linux-gnuabi64 \ 6*26ae3166Syingopq // RUN: -Wa,-mmsa,-mno-msa %s -Werror 2>&1 | FileCheck %s --check-prefix=CHECK-NOMMSA 7*26ae3166Syingopq // CHECK-NOMMSA: "-cc1" 8*26ae3166Syingopq // CHECK-NOMMSA-NOT: "-mssa" 9*26ae3166Syingopq 10*26ae3166Syingopq // RUN: not %clang -### -c --target=x86_64 -Wa,-mmsa -Wa,-mno-msa %s 2>&1 | FileCheck %s --check-prefix=ERR 11*26ae3166Syingopq // ERR: error: unsupported argument '-mmsa' to option '-Wa,' 12*26ae3166Syingopq // ERR: error: unsupported argument '-mno-msa' to option '-Wa,' 13