22 lines · plain
1# RUN: llvm-mc %s -triple=mips -mcpu=mips32r6 -mattr=+crc | \2# RUN: FileCheck %s -check-prefix=CHECK-ASM3#4# RUN: llvm-mc %s -triple=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+crc | \5# RUN: llvm-readobj -A - | \6# RUN: FileCheck %s -check-prefix=CHECK-OBJ7 8# CHECK-ASM: .module nocrc9 10# Check that MIPS.abiflags has no CRC flag.11# CHECK-OBJ: MIPS ABI Flags {12# CHECK-OBJ: ASEs [ (0x0)13# CHECK-OBJ-NOT: ASEs [ (0x8000)14# CHECK-OBJ-NOT: CRC (0x8000)15# CHECK-OBJ: }16 17 .module nocrc18 19# FIXME: Test should include gnu_attributes directive when implemented.20# An explicit .gnu_attribute must be checked against the effective21# command line options and any inconsistencies reported via a warning.22