diff options
| author | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-10 14:17:08 +0000 |
|---|---|---|
| committer | Amaury de la Vieuville <amaury.dlv@gmail.com> | 2013-06-10 14:17:08 +0000 |
| commit | 43cb13a5c95527912340f4d5948e201d60e0cc9e (patch) | |
| tree | 6599fa4111062ae83d3e6015b59f56e44fea7695 /llvm/test | |
| parent | f67191b4c386052479e89a7eadca3ffe7f8f8901 (diff) | |
| download | bcm5719-llvm-43cb13a5c95527912340f4d5948e201d60e0cc9e.tar.gz bcm5719-llvm-43cb13a5c95527912340f4d5948e201d60e0cc9e.zip | |
ARM: ISB cannot be passed the same options as DMB
ISB should only accepts full system sync, other options are reserved
llvm-svn: 183656
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/ARM/basic-arm-instructions.s | 4 | ||||
| -rw-r--r-- | llvm/test/MC/ARM/basic-thumb2-instructions.s | 4 | ||||
| -rw-r--r-- | llvm/test/MC/ARM/diagnostics.s | 5 | ||||
| -rw-r--r-- | llvm/test/MC/ARM/thumb2-diagnostics.s | 5 | ||||
| -rw-r--r-- | llvm/test/MC/Disassembler/ARM/basic-arm-instructions.txt | 2 | ||||
| -rw-r--r-- | llvm/test/MC/Disassembler/ARM/thumb2.txt | 2 |
6 files changed, 22 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/basic-arm-instructions.s b/llvm/test/MC/ARM/basic-arm-instructions.s index 4b72c14b978..8aec4b3e603 100644 --- a/llvm/test/MC/ARM/basic-arm-instructions.s +++ b/llvm/test/MC/ARM/basic-arm-instructions.s @@ -778,9 +778,13 @@ Lforward: @------------------------------------------------------------------------------ isb sy isb + isb #15 + isb #1 @ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5] @ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5] +@ CHECK: isb sy @ encoding: [0x6f,0xf0,0x7f,0xf5] +@ CHECK: isb #0x1 @ encoding: [0x61,0xf0,0x7f,0xf5] @------------------------------------------------------------------------------ diff --git a/llvm/test/MC/ARM/basic-thumb2-instructions.s b/llvm/test/MC/ARM/basic-thumb2-instructions.s index 8127feba6d4..98eb7f243fe 100644 --- a/llvm/test/MC/ARM/basic-thumb2-instructions.s +++ b/llvm/test/MC/ARM/basic-thumb2-instructions.s @@ -571,9 +571,13 @@ _func: @------------------------------------------------------------------------------ isb sy isb + isb #15 + isb #1 @ CHECK: isb sy @ encoding: [0xbf,0xf3,0x6f,0x8f] @ CHECK: isb sy @ encoding: [0xbf,0xf3,0x6f,0x8f] +@ CHECK: isb sy @ encoding: [0xbf,0xf3,0x6f,0x8f] +@ CHECK: isb #0x1 @ encoding: [0xbf,0xf3,0x61,0x8f] @------------------------------------------------------------------------------ diff --git a/llvm/test/MC/ARM/diagnostics.s b/llvm/test/MC/ARM/diagnostics.s index d65cfd7a67a..b4b73862de4 100644 --- a/llvm/test/MC/ARM/diagnostics.s +++ b/llvm/test/MC/ARM/diagnostics.s @@ -371,3 +371,8 @@ @ CHECK-ERRORS: error: invalid operand for instruction @ CHECK-ERRORS: msr foo, #0 @ CHECK-ERRORS: ^ + + isb #-1 + isb #16 +@ CHECK-ERRORS: error: immediate value out of range +@ CHECK-ERRORS: error: immediate value out of range diff --git a/llvm/test/MC/ARM/thumb2-diagnostics.s b/llvm/test/MC/ARM/thumb2-diagnostics.s index d94c686e2f8..b7fe44d2cd6 100644 --- a/llvm/test/MC/ARM/thumb2-diagnostics.s +++ b/llvm/test/MC/ARM/thumb2-diagnostics.s @@ -42,3 +42,8 @@ @ CHECK-ERRORS: error: invalid operand for instruction @ CHECK-ERRORS: error: immediate operand must be in the range [0,15] @ CHECK-ERRORS: error: immediate operand must be in the range [0,15] + + isb #-1 + isb #16 +@ CHECK-ERRORS: error: immediate value out of range +@ CHECK-ERRORS: error: immediate value out of range diff --git a/llvm/test/MC/Disassembler/ARM/basic-arm-instructions.txt b/llvm/test/MC/Disassembler/ARM/basic-arm-instructions.txt index ae4172b0705..fd36268a380 100644 --- a/llvm/test/MC/Disassembler/ARM/basic-arm-instructions.txt +++ b/llvm/test/MC/Disassembler/ARM/basic-arm-instructions.txt @@ -613,8 +613,10 @@ # ISB #------------------------------------------------------------------------------ # CHECK: isb sy +# CHECK: isb #0xa 0x6f 0xf0 0x7f 0xf5 +0x6a 0xf0 0x7f 0xf5 diff --git a/llvm/test/MC/Disassembler/ARM/thumb2.txt b/llvm/test/MC/Disassembler/ARM/thumb2.txt index 31f75b39fa9..fc237ab0f7b 100644 --- a/llvm/test/MC/Disassembler/ARM/thumb2.txt +++ b/llvm/test/MC/Disassembler/ARM/thumb2.txt @@ -447,8 +447,10 @@ # ISB #------------------------------------------------------------------------------ #CHECK: isb sy +#CHECK: isb #0xa 0xbf 0xf3 0x6f 0x8f +0xbf 0xf3 0x6a 0x8f #------------------------------------------------------------------------------ # IT |

