1# RUN: llvm-mc -arch=mips -mcpu=mips32r2 -filetype=obj %s -o - | \ 2# RUN: llvm-readobj -sections -section-data - | \ 3# RUN: FileCheck %s 4 mfc0 $16, $15, 1 5 mfc0 $16, $16, 1 6 7 8# Checking for the coprocessor 0's register usage was recorded 9# and emitted. 10# CHECK: Section { 11# CHECK: Index: 5 12# CHECK: Name: .reginfo (27) 13# CHECK: Type: SHT_MIPS_REGINFO (0x70000006) 14# CHECK: Flags [ (0x2) 15# CHECK: SHF_ALLOC (0x2) 16# CHECK: ] 17# CHECK: Address: 0x0 18# CHECK: Offset: 0x50 19# CHECK: Size: 24 20# CHECK: Link: 0 21# CHECK: Info: 0 22# CHECK: AddressAlignment: 4 23# CHECK: EntrySize: 24 24# CHECK: SectionData ( 25# CHECK: 0000: 00010000 00018000 00000000 00000000 |................| 26# CHECK: 0010: 00000000 00000000 |........| 27# CHECK: ) 28# CHECK: } 29