Home | History | Annotate | Download | only in Mips
      1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips1 | \
      2 # RUN:   FileCheck %s
      3 
      4         .text
      5         .set noreorder
      6         .set mips1
      7         add $2, $2, $2
      8         .set mips2
      9         ll  $2,-2($2)
     10         .set mips3
     11         dadd $2,$2,$2
     12         .set mips4
     13         ldxc1 $f8,$2($4)
     14         .set mips5
     15         luxc1 $f19,$2($4)
     16         .set mips32
     17         clo  $2,$2
     18         .set mips32r2
     19         rotr    $2,15
     20         .set mips32
     21         .set mips32r3
     22         rotr    $2,15
     23         .set mips32
     24         .set mips32r5
     25         rotr    $2,15
     26         .set mips32r6
     27         mod $2, $4, $6
     28         .set mips64
     29         daddi $2, $2, 10
     30         .set mips64r2
     31         drotr32 $1,$14,15
     32         .set mips64
     33         .set mips64r3
     34         drotr32 $1,$14,15
     35         .set mips64
     36         .set mips64r5
     37         drotr32 $1,$14,15
     38         .set mips64r6
     39         mod $2, $4, $6
     40 
     41 # CHECK: .set noreorder
     42 # CHECK: .set mips1
     43 # CHECK: add $2, $2, $2
     44 # CHECK: .set mips2
     45 # CHECK: ll  $2, -2($2)
     46 # CHECK: .set mips3
     47 # CHECK: dadd $2, $2, $2
     48 # CHECK: .set mips4
     49 # CHECK: ldxc1 $f8, $2($4)
     50 # CHECK: .set mips5
     51 # CHECK: luxc1 $f19, $2($4)
     52 # CHECK: .set mips32
     53 # CHECK: clo $2, $2
     54 # CHECK: .set mips32r2
     55 # CHECK: rotr $2, $2, 15
     56 # CHECK: .set mips32
     57 # CHECK: .set mips32r3
     58 # CHECK: rotr $2, $2, 15
     59 # CHECK: .set mips32
     60 # CHECK: .set mips32r5
     61 # CHECK: rotr $2, $2, 15
     62 # CHECK: .set mips32r6
     63 # CHECK: mod $2, $4, $6
     64 # CHECK: .set mips64
     65 # CHECK: daddi $2, $2, 10
     66 # CHECK: .set mips64r2
     67 # CHECK:  drotr32 $1, $14, 15
     68 # CHECK: .set mips64
     69 # CHECK: .set mips64r3
     70 # CHECK:  drotr32 $1, $14, 15
     71 # CHECK: .set mips64
     72 # CHECK: .set mips64r5
     73 # CHECK:  drotr32 $1, $14, 15
     74 # CHECK: .set mips64r6
     75 # CHECK: mod $2, $4, $6
     76