summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-06-09 23:27:48 +0000
committerEric Christopher <echristo@gmail.com>2016-06-09 23:27:48 +0000
commit1dbb23e1629509112f1da3eb74174307c696209f (patch)
tree2cd8a28ccb54975a42e5344ad582ebabc19ea80b /llvm/test/MC/PowerPC/ppc64-encoding-ext.s
parente2bd9a32bcc8b88ec62de40b65a0fb6a03ebad3c (diff)
downloadbcm5719-llvm-1dbb23e1629509112f1da3eb74174307c696209f.tar.gz
bcm5719-llvm-1dbb23e1629509112f1da3eb74174307c696209f.zip
Add aliases for mfvrsave/mtvrsave.
Update a test as we're now going to emit it for easier reading of generated assembly as well. llvm-svn: 272339
Diffstat (limited to 'llvm/test/MC/PowerPC/ppc64-encoding-ext.s')
-rw-r--r--llvm/test/MC/PowerPC/ppc64-encoding-ext.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/PowerPC/ppc64-encoding-ext.s b/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
index 682a737547d..0b7bc927c63 100644
--- a/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
+++ b/llvm/test/MC/PowerPC/ppc64-encoding-ext.s
@@ -3497,6 +3497,12 @@
# CHECK-BE: mfctr 2 # encoding: [0x7c,0x49,0x02,0xa6]
# CHECK-LE: mfctr 2 # encoding: [0xa6,0x02,0x49,0x7c]
mfctr 2
+# CHECK-BE: mfvrsave 2 # encoding: [0x7c,0x40,0x42,0xa6]
+# CHECK-LE: mfvrsave 2 # encoding: [0xa6,0x42,0x40,0x7c]
+ mfvrsave 2
+# CHECK-BE: mtvrsave 2 # encoding: [0x7c,0x40,0x43,0xa6]
+# CHECK-LE: mtvrsave 2 # encoding: [0xa6,0x43,0x40,0x7c]
+ mtvrsave 2
# Miscellaneous mnemonics
OpenPOWER on IntegriCloud