aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Mips/mt/invalid.s
blob: 02e96f0a1a3b52787434bad9c022c550e73a7df0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RUN: not llvm-mc -arch=mips -mcpu=mips32 -mattr=+mt < %s 2>&1 | FileCheck %s
  dmt 4           # CHECK: error: invalid operand for instruction
  dmt $4, $5      # CHECK: error: invalid operand for instruction
  dmt $5, 0($4)   # CHECK: error: invalid operand for instruction
  emt 4           # CHECK: error: invalid operand for instruction
  emt $4, $5      # CHECK: error: invalid operand for instruction
  emt $5, 0($5)   # CHECK: error: invalid operand for instruction
  dvpe 4          # CHECK: error: invalid operand for instruction
  dvpe $4, $5     # CHECK: error: invalid operand for instruction
  dvpe $5, 0($4)  # CHECK: error: invalid operand for instruction
  evpe 4          # CHECK: error: invalid operand for instruction
  evpe $4, $5     # CHECK: error: invalid operand for instruction
  evpe $5, 0($5)  # CHECK: error: invalid operand for instruction
  # FIXME: add tests for mftr/mttr.