llvm.org GIT mirror llvm / master test / MC / ARM / ldrd-strd-gnu-bad-inst.s
master

Tree @master (Download .tar.gz)

ldrd-strd-gnu-bad-inst.s @masterraw · history · blame

@ RUN: not llvm-mc -triple=armv7-linux-gnueabi %s 2>&1 | FileCheck %s

  .text
  .thumb
@ CHECK: error: too few operands for instruction
  strd
@ CHECK: error: too few operands for instruction
  ldrd
@ CHECK: error: too few operands for instruction
  strd r0
@ CHECK: error: too few operands for instruction
  ldrd r0
@ CHECK: error: invalid instruction
  strd s0, [r0]
@ CHECK: error: invalid instruction
  ldrd s0, [r0]
  .arm
@ CHECK: error: too few operands for instruction
  strd
@ CHECK: error: too few operands for instruction
  ldrd
@ CHECK: error: too few operands for instruction
  strd r0
@ CHECK: error: too few operands for instruction
  ldrd r0
@ CHECK: error: invalid instruction
  strd s0, [r0]
@ CHECK: error: invalid instruction
  ldrd s0, [r0]