[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / Sparc / leon-pwrpsr-instruction.s
blobf6476c3e206f3c116cb32143fffc02660f90fafb
1 ! RUN: llvm-mc %s -arch=sparc -mcpu=gr740 -show-encoding | FileCheck %s
3 ! CHECK: pwr %g0, 0, %psr ! encoding: [0x83,0x88,0x20,0x00]
4 pwr 0, %psr
6 ! CHECK: pwr %g0, %l7, %psr ! encoding: [0x83,0x88,0x00,0x17]
7 pwr %l7, %psr
9 ! CHECK: pwr %g0, 32, %psr ! encoding: [0x83,0x88,0x20,0x20]
10 pwr 32, %psr