diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-06-10 17:19:43 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-06-10 17:19:43 +0000 |
commit | 278916500a2d7c735e3ed6b0f57cd757815b9867 (patch) | |
tree | 100001c678ca4c6c236a05a1bb50b69fdce1a898 /test | |
parent | 7c6f90d486911076da01ec0f37af4760fdd7041f (diff) | |
download | external_llvm-278916500a2d7c735e3ed6b0f57cd757815b9867.zip external_llvm-278916500a2d7c735e3ed6b0f57cd757815b9867.tar.gz external_llvm-278916500a2d7c735e3ed6b0f57cd757815b9867.tar.bz2 |
[PowerPC] Support extended sc mnemonic
A plain "sc" without argument is supposed to be treated like "sc 0"
by the assembler. This patch adds a corresponding alias.
Problem reported by Joerg Sonnenberger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/PowerPC/ppc64-encoding.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/MC/PowerPC/ppc64-encoding.s b/test/MC/PowerPC/ppc64-encoding.s index a955f4f..d11ad4f 100644 --- a/test/MC/PowerPC/ppc64-encoding.s +++ b/test/MC/PowerPC/ppc64-encoding.s @@ -43,6 +43,8 @@ # CHECK: sc 1 # encoding: [0x44,0x00,0x00,0x22] sc 1 +# CHECK: sc 0 # encoding: [0x44,0x00,0x00,0x02] + sc # Fixed-point facility |