diff options
Diffstat (limited to 'test/MC/ARM')
-rw-r--r-- | test/MC/ARM/basic-arm-instructions-v8.s | 7 | ||||
-rw-r--r-- | test/MC/ARM/basic-arm-instructions.s | 2 | ||||
-rw-r--r-- | test/MC/ARM/basic-thumb2-instructions-v8.s | 13 | ||||
-rw-r--r-- | test/MC/ARM/invalid-hint-arm.s | 7 | ||||
-rw-r--r-- | test/MC/ARM/invalid-hint-thumb.s | 9 |
5 files changed, 22 insertions, 16 deletions
diff --git a/test/MC/ARM/basic-arm-instructions-v8.s b/test/MC/ARM/basic-arm-instructions-v8.s index a447e0f..70b1496 100644 --- a/test/MC/ARM/basic-arm-instructions-v8.s +++ b/test/MC/ARM/basic-arm-instructions-v8.s @@ -50,3 +50,10 @@ @ CHECK-V7: error: invalid operand for instruction @ CHECK-V7: error: invalid operand for instruction @ CHECK-V7: error: invalid operand for instruction + +@------------------------------------------------------------------------------ +@ SEVL +@------------------------------------------------------------------------------ + sevl + +@ CHECK: sevl @ encoding: [0x05,0xf0,0x20,0xe3] diff --git a/test/MC/ARM/basic-arm-instructions.s b/test/MC/ARM/basic-arm-instructions.s index 5d40a39..636682f 100644 --- a/test/MC/ARM/basic-arm-instructions.s +++ b/test/MC/ARM/basic-arm-instructions.s @@ -2928,6 +2928,7 @@ Lforward: hint #2 hint #1 hint #0 + hint #255 @ CHECK: wfe @ encoding: [0x02,0xf0,0x20,0xe3] @ CHECK: wfehi @ encoding: [0x02,0xf0,0x20,0x83] @@ -2940,3 +2941,4 @@ Lforward: @ CHECK: wfe @ encoding: [0x02,0xf0,0x20,0xe3] @ CHECK: yield @ encoding: [0x01,0xf0,0x20,0xe3] @ CHECK: nop @ encoding: [0x00,0xf0,0x20,0xe3] +@ CHECK: hint #255 @ encoding: [0xff,0xf0,0x20,0xe3] diff --git a/test/MC/ARM/basic-thumb2-instructions-v8.s b/test/MC/ARM/basic-thumb2-instructions-v8.s index 69a7cff..ba6f0da 100644 --- a/test/MC/ARM/basic-thumb2-instructions-v8.s +++ b/test/MC/ARM/basic-thumb2-instructions-v8.s @@ -69,3 +69,16 @@ @ CHECK-V7: error: invalid operand for instruction @ CHECK-V7: error: invalid operand for instruction @ CHECK-V7: error: invalid operand for instruction + +@------------------------------------------------------------------------------ +@ SEVL +@------------------------------------------------------------------------------ + sevl + sevl.w + it ge + sevlge + +@ CHECK-V8: sevl @ encoding: [0x50,0xbf] +@ CHECK-V8: sevl.w @ encoding: [0xaf,0xf3,0x05,0x80] +@ CHECK-V8: it ge @ encoding: [0xa8,0xbf] +@ CHECK-V8: sevlge @ encoding: [0x50,0xbf] diff --git a/test/MC/ARM/invalid-hint-arm.s b/test/MC/ARM/invalid-hint-arm.s deleted file mode 100644 index 3608e95..0000000 --- a/test/MC/ARM/invalid-hint-arm.s +++ /dev/null @@ -1,7 +0,0 @@ -@ RUN: not llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s - -hint #5 -hint #100 - -@ CHECK: error: immediate operand must be in the range [0,4] -@ CHECK: error: immediate operand must be in the range [0,4] diff --git a/test/MC/ARM/invalid-hint-thumb.s b/test/MC/ARM/invalid-hint-thumb.s deleted file mode 100644 index bde987c..0000000 --- a/test/MC/ARM/invalid-hint-thumb.s +++ /dev/null @@ -1,9 +0,0 @@ -@ RUN: not llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s - -hint #5 -hint.w #5 -hint #100 - -@ CHECK: error: immediate operand must be in the range [0,4] -@ CHECK: error: immediate operand must be in the range [0,4] -@ CHECK: error: immediate operand must be in the range [0,4] |