1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -filetype=obj -o - | \ 2 # RUN: llvm-readobj -s -section-data | \ 3 # RUN: FileCheck %s 4 5 # CHECK: Section { 6 # CHECK: Index: 7 # CHECK: Name: .reginfo 8 # CHECK: Type: SHT_MIPS_REGINFO (0x70000006) 9 # CHECK: Flags [ (0x2) 10 # CHECK: SHF_ALLOC (0x2) 11 # CHECK: ] 12 # CHECK: Size: 24 13 # CHECK: SectionData ( 14 # CHECK: 0000: 01010101 00000000 C0007535 00000000 15 # CHECK: 0010: 00000000 00000000 16 # CHECK: ) 17 # CHECK: } 18 19 .text 20 add $0,$0,$0 21 add $8,$0,$0 22 add $16,$0,$0 23 add $24,$0,$0 24 25 # abs.s - Reads and writes from/to $f0. 26 abs.s $f0,$f0 27 # round.w.d - Reads $f4 and $f5 and writes to $f2. 28 round.w.d $f2,$f4 29 # ceil.w.s - Reads $f8 and writes to $f10. 30 ceil.w.s $f10, $f8 31 # cvt.s.d - Reads from $f12 and $f13 and writes to $f14 32 cvt.s.d $f14, $f12 33 # abs.d - Reads from $f30 and $f31 and writes to $f30 and $f31. 34 abs.d $f30,$f30 35