diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-07-20 18:39:38 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-07-20 18:39:38 +0000 |
| commit | a3fcb962eb371b2c6337adca0d8b02259e737b4d (patch) | |
| tree | 0fa12f34453f091aaee6af71b1ffdaf385b83116 | |
| parent | 614e90a126d85fc0ccb04cf54fad09439f726b34 (diff) | |
| download | bcm5719-llvm-a3fcb962eb371b2c6337adca0d8b02259e737b4d.tar.gz bcm5719-llvm-a3fcb962eb371b2c6337adca0d8b02259e737b4d.zip | |
Consolidate ARM NOP encoding test.
llvm-svn: 135600
| -rw-r--r-- | llvm/test/MC/ARM/arm_instructions.s | 11 | ||||
| -rw-r--r-- | llvm/test/MC/ARM/basic-arm-instructions.s | 9 |
2 files changed, 9 insertions, 11 deletions
diff --git a/llvm/test/MC/ARM/arm_instructions.s b/llvm/test/MC/ARM/arm_instructions.s index 5154e559cca..87f061165f6 100644 --- a/llvm/test/MC/ARM/arm_instructions.s +++ b/llvm/test/MC/ARM/arm_instructions.s @@ -1,13 +1,5 @@ @ RUN: llvm-mc -mcpu=cortex-a8 -triple arm-unknown-unknown -show-encoding %s | FileCheck %s -@ CHECK: nop -@ CHECK: encoding: [0x00,0xf0,0x20,0xe3] - nop - -@ CHECK: nopeq -@ CHECK: encoding: [0x00,0xf0,0x20,0x03] - nopeq - @ CHECK: trap @ CHECK: encoding: [0xfe,0xde,0xff,0xe7] trap @@ -109,9 +101,6 @@ @ CHECK: yield @ encoding: [0x01,0xf0,0x20,0xe3] yield -@ CHECK: nop @ encoding: [0x00,0xf0,0x20,0xe3] - nop - @ CHECK: cpsie aif @ encoding: [0xc0,0x01,0x08,0xf1] cpsie aif diff --git a/llvm/test/MC/ARM/basic-arm-instructions.s b/llvm/test/MC/ARM/basic-arm-instructions.s index 652c400e8b7..926060b308c 100644 --- a/llvm/test/MC/ARM/basic-arm-instructions.s +++ b/llvm/test/MC/ARM/basic-arm-instructions.s @@ -881,6 +881,15 @@ _func: @ CHECK: mvngt r5, r6, asr r7 @ encoding: [0x56,0x57,0xe0,0xc1] @ CHECK: mvnslt r5, r6, ror r7 @ encoding: [0x76,0x57,0xf0,0xb1] +@------------------------------------------------------------------------------ +@ NOP +@------------------------------------------------------------------------------ + nop + nopgt + +@ CHECK: nop @ encoding: [0x00,0xf0,0x20,0xe3] +@ CHECK: nopgt @ encoding: [0x00,0xf0,0x20,0xc3] + @------------------------------------------------------------------------------ @ STM* |

