forked from OSchip/llvm-project
[SPARCv9] allow stw as alias for st
Strictly speaking, the architecture manual no longer uses the st mnemonic, but that's a much more intrusive change for little gain. Differential Revision: https://reviews.llvm.org/D96313
This commit is contained in:
parent
bdd82c3f51
commit
80836ee519
|
@ -491,6 +491,7 @@ def : MnemonicAlias<"stsh", "sth">;
|
|||
|
||||
def : MnemonicAlias<"stuha", "stha">;
|
||||
def : MnemonicAlias<"stsha", "stha">;
|
||||
def : MnemonicAlias<"stw", "st">, Requires<[HasV9]>;
|
||||
|
||||
def : MnemonicAlias<"lduw", "ld">, Requires<[HasV9]>;
|
||||
def : MnemonicAlias<"lduwa", "lda">, Requires<[HasV9]>;
|
||||
|
|
|
@ -293,3 +293,6 @@
|
|||
! V8-NEXT: rdpr %wstate,%i5
|
||||
! V9: rdpr %wstate, %i5 ! encoding: [0xbb,0x53,0x80,0x00]
|
||||
rdpr %wstate,%i5
|
||||
|
||||
! V9: st %o1, [%o0] ! encoding: [0xd2,0x22,0x00,0x00]
|
||||
stw %o1, [%o0]
|
||||
|
|
Loading…
Reference in New Issue