diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-07-01 17:21:23 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-07-01 17:21:23 +0000 |
commit | 62c1baf8b58a40d37f56a5431214e6514e42970f (patch) | |
tree | abf66065f3a1e1ce776ed98175a43830c1d2a8e0 /test/MC/PowerPC | |
parent | c0a6b981de8efd2c68125edb94bf9ffb933df727 (diff) | |
download | external_llvm-62c1baf8b58a40d37f56a5431214e6514e42970f.zip external_llvm-62c1baf8b58a40d37f56a5431214e6514e42970f.tar.gz external_llvm-62c1baf8b58a40d37f56a5431214e6514e42970f.tar.bz2 |
[PowerPC] Add "wait" instruction
This adds the "wait" instruction and its extended mnemonics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/PowerPC')
-rw-r--r-- | test/MC/PowerPC/ppc64-encoding-bookII.s | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/MC/PowerPC/ppc64-encoding-bookII.s b/test/MC/PowerPC/ppc64-encoding-bookII.s index d066003..b6c2e62 100644 --- a/test/MC/PowerPC/ppc64-encoding-bookII.s +++ b/test/MC/PowerPC/ppc64-encoding-bookII.s @@ -39,7 +39,8 @@ sync 2 # CHECK: eieio # encoding: [0x7c,0x00,0x06,0xac] eieio -# FIXME: wait 2 +# CHECK: wait 2 # encoding: [0x7c,0x40,0x00,0x7c] + wait 2 # Extended mnemonics @@ -61,7 +62,10 @@ # CHECK: sync 2 # encoding: [0x7c,0x40,0x04,0xac] ptesync -# FIXME: wait -# FIXME: waitrsv -# FIXME: waitimpl +# CHECK: wait 0 # encoding: [0x7c,0x00,0x00,0x7c] + wait +# CHECK: wait 1 # encoding: [0x7c,0x20,0x00,0x7c] + waitrsv +# CHECK: wait 2 # encoding: [0x7c,0x40,0x00,0x7c] + waitimpl |