diff options
| author | Eric Christopher <echristo@gmail.com> | 2016-06-09 23:27:48 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2016-06-09 23:27:48 +0000 |
| commit | 1dbb23e1629509112f1da3eb74174307c696209f (patch) | |
| tree | 2cd8a28ccb54975a42e5344ad582ebabc19ea80b /llvm/test | |
| parent | e2bd9a32bcc8b88ec62de40b65a0fb6a03ebad3c (diff) | |
| download | bcm5719-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')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/vrsave-spill.ll | 4 | ||||
| -rw-r--r-- | llvm/test/MC/PowerPC/ppc64-encoding-ext.s | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/PowerPC/vrsave-spill.ll b/llvm/test/CodeGen/PowerPC/vrsave-spill.ll index c73206d8fc8..ceb787d05c9 100644 --- a/llvm/test/CodeGen/PowerPC/vrsave-spill.ll +++ b/llvm/test/CodeGen/PowerPC/vrsave-spill.ll @@ -10,8 +10,8 @@ entry: br label %return ; CHECK: @foo -; CHECK: mfspr r{{[0-9]+}}, 256 -; CHECK: mtspr 256, r{{[0-9]+}} +; CHECK: mfvrsave r{{[0-9]+}} +; CHECK: mtvrsave r{{[0-9]+}} return: ; preds = %entry ret <4 x float> %d 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 |

