mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
2b01682aa7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194263 91177308-0d34-0410-b5e6-96231b3b80d8
168 lines
3.9 KiB
Plaintext
168 lines
3.9 KiB
Plaintext
# RUN: not llvm-mc -disassemble %s -show-encoding -triple thumbv8 2>&1 | FileCheck %s
|
|
|
|
# Coprocessors other than CP10, CP11, CP14 and CP15 are undefined in ARMv8;
|
|
# but in ARMv7, all these instructions are valid
|
|
|
|
# RUN: llvm-mc -triple thumbv7 -show-encoding -disassemble %s | FileCheck %s --check-prefix=CHECK-V7
|
|
|
|
[0x00 0xee 0x00 0x01]
|
|
# CHECK-V7: cdp
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xee 0x00 0x01]
|
|
|
|
[0x00 0xee 0x00 0x0e]
|
|
# CHECK-V7: cdp
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xee 0x00 0x0e]
|
|
|
|
[0x00 0xee 0x00 0x0f]
|
|
# CHECK-V7: cdp
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xee 0x00 0x0f]
|
|
|
|
[0x00 0xfe 0x00 0x01]
|
|
# CHECK-V7: cdp2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xfe 0x00 0x01]
|
|
|
|
[0x00 0xfe 0x00 0x0e]
|
|
# CHECK-V7: cdp2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xfe 0x00 0x0e]
|
|
|
|
[0x00 0xfe 0x00 0x0f]
|
|
# CHECK-V7: cdp2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xfe 0x00 0x0f]
|
|
|
|
[0x00 0xee 0x10 0x01]
|
|
# CHECK-V7: mcr
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xee 0x10 0x01]
|
|
|
|
[0x00 0xfe 0x10 0x01]
|
|
# CHECK-V7: mcr2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xfe 0x10 0x01]
|
|
|
|
[0x00 0xfe 0x10 0x0e]
|
|
# CHECK-V7: mcr2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xfe 0x10 0x0e]
|
|
|
|
[0x00 0xfe 0x10 0x0f]
|
|
# CHECK-V7: mcr2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x00 0xfe 0x10 0x0f]
|
|
|
|
[0x10 0xee 0x10 0x01]
|
|
# CHECK-V7: mrc
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x10 0xee 0x10 0x01]
|
|
|
|
[0x10 0xfe 0x10 0x01]
|
|
# CHECK-V7: mrc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x10 0xfe 0x10 0x01]
|
|
|
|
[0x10 0xfe 0x10 0x0e]
|
|
# CHECK-V7: mrc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x10 0xfe 0x10 0x0e]
|
|
|
|
[0x10 0xfe 0x10 0x0f]
|
|
# CHECK-V7: mrc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x10 0xfe 0x10 0x0f]
|
|
|
|
[0x40 0xec 0x00 0x01]
|
|
# CHECK-V7: mcrr
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x40 0xec 0x00 0x01]
|
|
|
|
[0x40 0xfc 0x00 0x01]
|
|
# CHECK-V7: mcrr2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x40 0xfc 0x00 0x01]
|
|
|
|
[0x40 0xfc 0x00 0x0e]
|
|
# CHECK-V7: mcrr2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x40 0xfc 0x00 0x0e]
|
|
|
|
[0x40 0xfc 0x00 0x0f]
|
|
# CHECK-V7: mcrr2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x40 0xfc 0x00 0x0f]
|
|
|
|
[0x50 0xec 0x00 0x01]
|
|
# CHECK-V7: mrrc
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x50 0xec 0x00 0x01]
|
|
|
|
[0x50 0xfc 0x00 0x0e]
|
|
# CHECK-V7: mrrc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x50 0xfc 0x00 0x0e]
|
|
|
|
[0x50 0xfc 0x00 0x0f]
|
|
# CHECK-V7: mrrc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x50 0xfc 0x00 0x0f]
|
|
|
|
[0x50 0xfc 0x00 0x01]
|
|
# CHECK-V7: mrrc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x50 0xfc 0x00 0x01]
|
|
|
|
[0x80 0xec 0x00 0x01]
|
|
# CHECK-V7: stc
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x80 0xec 0x00 0x01]
|
|
|
|
[0x80 0xec 0x00 0x0f]
|
|
# CHECK-V7: stc
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x80 0xec 0x00 0x0f]
|
|
|
|
[0x80 0xfc 0x00 0x01]
|
|
# CHECK-V7: stc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x80 0xfc 0x00 0x01]
|
|
|
|
[0x80 0xfc 0x00 0x0e]
|
|
# CHECK-V7: stc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x80 0xfc 0x00 0x0e]
|
|
|
|
[0x80 0xfc 0x00 0x0f]
|
|
# CHECK-V7: stc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x80 0xfc 0x00 0x0f]
|
|
|
|
[0x90 0xec 0x00 0x01]
|
|
# CHECK-V7: ldc
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x90 0xec 0x00 0x01]
|
|
|
|
[0x90 0xec 0x00 0x0f]
|
|
# CHECK-V7: ldc
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x90 0xec 0x00 0x0f]
|
|
|
|
[0x90 0xfc 0x00 0x01]
|
|
# CHECK-V7: ldc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x90 0xfc 0x00 0x01]
|
|
|
|
[0x90 0xfc 0x00 0x0e]
|
|
# CHECK-V7: ldc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x90 0xfc 0x00 0x0e]
|
|
|
|
[0x90 0xfc 0x00 0x0f]
|
|
# CHECK-V7: ldc2
|
|
# CHECK: invalid instruction encoding
|
|
# CHECK-NEXT: [0x90 0xfc 0x00 0x0f]
|
|
|