22 lines · plain
1# RUN: llvm-mc %s -triple=mips -mcpu=mips32r6 -mattr=+ginv | \2# RUN: FileCheck %s -check-prefix=CHECK-ASM3#4# RUN: llvm-mc %s -triple=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+ginv | \5# RUN: llvm-readobj -A - | \6# RUN: FileCheck %s -check-prefix=CHECK-OBJ7 8# CHECK-ASM: .module noginv9 10# Check that MIPS.abiflags has no GINV flag.11# CHECK-OBJ: MIPS ABI Flags {12# CHECK-OBJ: ASEs [ (0x0)13# CHECK-OBJ-NOT: ASEs [ (0x20000)14# CHECK-OBJ-NOT: GINV (0x20000)15# CHECK-OBJ: }16 17 .module noginv18 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