llvm.org GIT mirror llvm / 52e96d1 test / MC / Disassembler / Mips / mt / valid-r2.txt
52e96d1

Tree @52e96d1 (Download .tar.gz)

valid-r2.txt @52e96d1raw · history · blame

# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips32r2 -mattr=+mt | FileCheck %s
0x41 0x60 0x0b 0xc1  # CHECK: dmt
0x41 0x65 0x0b 0xc1  # CHECK: dmt $5
0x41 0x60 0x0b 0xe1  # CHECK: emt
0x41 0x64 0x0b 0xe1  # CHECK: emt $4
0x41 0x60 0x00 0x01  # CHECK: dvpe
0x41 0x66 0x00 0x01  # CHECK: dvpe  $6
0x41 0x60 0x00 0x21  # CHECK: evpe
0x41 0x64 0x00 0x21  # CHECK: evpe  $4
0x7c 0x65 0x10 0x08  # CHECK: fork  $2, $3, $5
0x7c 0x80 0x00 0x09  # CHECK: yield  $4
0x7c 0xa0 0x20 0x09  # CHECK: yield $4, $5
0x41 0x05 0x20 0x02  # CHECK: mftr  $4, $5, 0, 2, 0
0x41 0x05 0x20 0x20  # CHECK: mftr  $4, $5, 1, 0, 0
0x41 0x00 0x20 0x21  # CHECK: mftr  $4, $zero, 1, 1, 0
0x41 0x0a 0x20 0x21  # CHECK: mftr  $4, $10, 1, 1, 0
0x41 0x0a 0x20 0x22  # CHECK: mftr  $4, $10, 1, 2, 0
0x41 0x0a 0x20 0x32  # CHECK: mftr  $4, $10, 1, 2, 1
0x41 0x1a 0x20 0x23  # CHECK: mftr  $4, $26, 1, 3, 0
0x41 0x1f 0x20 0x23  # CHECK: mftr  $4, $ra, 1, 3, 0
0x41 0x0e 0x20 0x24  # CHECK: mftr  $4, $14, 1, 4, 0
0x41 0x0f 0x20 0x25  # CHECK: mftr  $4, $15, 1, 5, 0
0x41 0x84 0x28 0x02  # CHECK: mttr  $4, $5, 0, 2, 0
0x41 0x84 0x28 0x20  # CHECK: mttr  $4, $5, 1, 0, 0
0x41 0x84 0x00 0x21  # CHECK: mttr  $4, $zero, 1, 1, 0
0x41 0x84 0x50 0x21  # CHECK: mttr  $4, $10, 1, 1, 0
0x41 0x84 0x50 0x22  # CHECK: mttr  $4, $10, 1, 2, 0
0x41 0x84 0x50 0x32  # CHECK: mttr  $4, $10, 1, 2, 1
0x41 0x84 0xd0 0x23  # CHECK: mttr  $4, $26, 1, 3, 0
0x41 0x84 0xf8 0x23  # CHECK: mttr  $4, $ra, 1, 3, 0
0x41 0x84 0x70 0x24  # CHECK: mttr  $4, $14, 1, 4, 0
0x41 0x84 0x78 0x25  # CHECK: mttr  $4, $15, 1, 5, 0