brintos

brintos / llvm-project-archived public Read only

0
0
Text · 742 B · 66c5464 Raw
23 lines · plain
1# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r6 | \2# RUN:   FileCheck %s -check-prefix=CHECK-ASM3#4# RUN: llvm-mc %s -triple=mips-unknown-linux-gnu -mcpu=mips32r6 \5# RUN:   -filetype=obj -o - | \6# RUN:   llvm-readobj -A - | \7# RUN:   FileCheck %s -check-prefix=CHECK-OBJ8 9# CHECK-ASM: .module crc10 11# Check if the MIPS.abiflags section was correctly emitted:12# CHECK-OBJ: MIPS ABI Flags {13# CHECK-OBJ:   ASEs [ (0x8000)14# CHECK-OBJ:     CRC (0x8000)15# CHECK-OBJ: }16 17  .module crc18  crc32b $2,$3,$219 20# FIXME: Test should include gnu_attributes directive when implemented.21#        An explicit .gnu_attribute must be checked against the effective22#        command line options and any inconsistencies reported via a warning.23