Home | History | Annotate | Download | only in Sparc
      1 # RUN: llvm-mc --disassemble %s -triple=sparc-unknown-linux | FileCheck %s
      2 
      3 # CHECK: wr %g1, -2, %y
      4 0x81 0x80 0x7f 0xfe
      5 
      6 # CHECK: rd %y, %i0
      7 0xb1 0x40 0x00 0x00
      8 
      9 # CHECK: rd %asr1, %i0
     10 0xb1 0x40 0x40 0x00
     11 
     12 # CHECK: wr %i0, 5, %y
     13 0x81 0x86 0x20 0x05
     14 
     15 # CHECK: wr %i0, %i1, %asr15
     16 0x9f 0x86 0x00 0x19
     17 
     18 # CHECK: rd %psr, %i0
     19 0xb1 0x48 0x00 0x00
     20 
     21 # CHECK: rd %wim, %i0
     22 0xb1 0x50 0x00 0x00
     23 
     24 # CHECK: rd %tbr, %i0
     25 0xb1 0x58 0x00 0x00
     26 
     27 # CHECK: wr %i0, 5, %psr
     28 0x81 0x8e 0x20 0x05
     29 
     30 # CHECK: wr %i0, 5, %wim
     31 0x81 0x96 0x20 0x05
     32 
     33 # CHECK: wr %i0, 5, %tbr
     34 0x81 0x9e 0x20 0x05
     35