1 ! RUN: llvm-mc %s -arch=sparc -show-encoding | FileCheck %s
2 ! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s
4 ! CHECK: rd %y, %i0 ! encoding: [0xb1,0x40,0x00,0x00]
7 ! CHECK: rd %asr1, %i0 ! encoding: [0xb1,0x40,0x40,0x00]
10 ! CHECK: wr %i0, 5, %y ! encoding: [0x81,0x86,0x20,0x05]
13 ! CHECK: wr %i0, %i1, %asr15 ! encoding: [0x9f,0x86,0x00,0x19]
16 ! CHECK: rd %asr15, %g0 ! encoding: [0x81,0x43,0xc0,0x00]