diff options
author | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-08-16 10:17:03 +0000 |
---|---|---|
committer | Vladimir Medic <Vladimir.Medic@imgtec.com> | 2013-08-16 10:17:03 +0000 |
commit | 6f297afb7ea6ab53be1feae4a335e7b1cb7a1f02 (patch) | |
tree | fb8ee207465be7757526595aa21db8792ad2a2ae /test/MC/Mips/mips-control-instructions.s | |
parent | 0163356ad1944dda162956993a95e547dc03251b (diff) | |
download | llvm-6f297afb7ea6ab53be1feae4a335e7b1cb7a1f02.tar.gz llvm-6f297afb7ea6ab53be1feae4a335e7b1cb7a1f02.tar.bz2 llvm-6f297afb7ea6ab53be1feae4a335e7b1cb7a1f02.tar.xz |
This patch implements wait instruction for mips. Examples are added in test files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188537 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips-control-instructions.s')
-rw-r--r-- | test/MC/Mips/mips-control-instructions.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/Mips/mips-control-instructions.s b/test/MC/Mips/mips-control-instructions.s index 90d479db86..825f349149 100644 --- a/test/MC/Mips/mips-control-instructions.s +++ b/test/MC/Mips/mips-control-instructions.s @@ -16,6 +16,7 @@ # CHECK32: ei # encoding: [0x41,0x60,0x60,0x20] # CHECK32: ei # encoding: [0x41,0x60,0x60,0x20] # CHECK32: ei $10 # encoding: [0x41,0x6a,0x60,0x20] +# CHECK32: wait # encoding: [0x42,0x00,0x00,0x20] # CHECK64: break # encoding: [0x00,0x00,0x00,0x0d] # CHECK64: break 7, 0 # encoding: [0x00,0x07,0x00,0x0d] @@ -30,6 +31,7 @@ # CHECK64: ei # encoding: [0x41,0x60,0x60,0x20] # CHECK64: ei # encoding: [0x41,0x60,0x60,0x20] # CHECK64: ei $10 # encoding: [0x41,0x6a,0x60,0x20] +# CHECK64: wait # encoding: [0x42,0x00,0x00,0x20] break break 7 break 7,5 @@ -44,3 +46,5 @@ ei ei $0 ei $10 + + wait |