Home | History | Annotate | Download | only in Mips
      1 # RUN: not llvm-mc %s -triple mips64-unknown-unknown 2>%t1
      2 # RUN:   FileCheck %s < %t1 -check-prefix=ASM
      3 
      4         .text
      5         .option pic2
      6 t1:
      7         .cpsetup $bar, 8, __cerror
      8 # ASM: :[[@LINE-1]]:18: error: expected register containing function address
      9         .cpsetup $33, 8, __cerror
     10 # ASM: :[[@LINE-1]]:18: error: invalid register
     11         .cpsetup $31, foo, __cerror
     12 # ASM: :[[@LINE-1]]:23: error: expected save register or stack offset
     13         .cpsetup $31, $32, __cerror
     14 # ASM: :[[@LINE-1]]:23: error: invalid register
     15