brintos

brintos / llvm-project-archived public Read only

0
0
Text · 972 B · 1d88f0f Raw
16 lines · c
1// RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlasx -msingle-float 2>&1 \2// RUN:   FileCheck --check-prefix=ERROR_LASX_FPU64 %s3// RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlasx -msoft-float 2>&1 \4// RUN:   FileCheck --check-prefix=ERROR_LASX_FPU64 %s5// RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlasx -mfpu=32 2>&1 \6// RUN:   FileCheck --check-prefix=ERROR_LASX_FPU64 %s7// RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlasx -mfpu=0 2>&1 \8// RUN:   FileCheck --check-prefix=ERROR_LASX_FPU64 %s9// RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlasx -mfpu=none 2>&1 \10// RUN:   FileCheck --check-prefix=ERROR_LASX_FPU64 %s11// RUN: not %clang --target=loongarch64 %s -fsyntax-only -mlasx -mno-lsx 2>&1 \12// RUN:   FileCheck --check-prefix=ERROR_LASX_FPU128 %s13 14// ERROR_LASX_FPU64: error: wrong fpu width; LASX depends on 64-bit FPU15// ERROR_LASX_FPU128: error: invalid option combination; LASX depends on LSX16