mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
29a6072d06
Summary: Partial write %PSR (WRPSR) is a SPARC V8e option that allows WRPSR instructions to only affect the %PSR.ET field. It is supported by the GR740 and GR716. Reviewers: jyknight, venkatra Subscribers: fedor.sergeev, jrtc27, llvm-commits Differential Revision: https://reviews.llvm.org/D48644 llvm-svn: 343202
11 lines
362 B
ArmAsm
11 lines
362 B
ArmAsm
! RUN: llvm-mc %s -arch=sparc -mcpu=gr740 -show-encoding | FileCheck %s
|
|
|
|
! CHECK: pwr %g0, 0, %psr ! encoding: [0x83,0x88,0x20,0x00]
|
|
pwr 0, %psr
|
|
|
|
! CHECK: pwr %g0, %l7, %psr ! encoding: [0x83,0x88,0x00,0x17]
|
|
pwr %l7, %psr
|
|
|
|
! CHECK: pwr %g0, 32, %psr ! encoding: [0x83,0x88,0x20,0x20]
|
|
pwr 32, %psr
|