[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / mips64extins.s
blobc913b7ca41fe2dfb6d73a18d175d50fd498e0b7d
1 # RUN: llvm-mc -arch=mips64el -filetype=obj -mcpu=mips64r2 -target-abi=n64 %s -o - \
2 # RUN: | llvm-objdump -disassemble - | FileCheck --check-prefix=OBJ %s
4 # RUN: llvm-mc -arch=mips64el -mcpu=mips64r2 -target-abi=n64 %s -o - \
5 # RUN: | FileCheck --check-prefix=ASM %s
7 dext $2, $4, 5, 10 # OBJ: dext ${{[0-9]+}}, ${{[0-9]+}}, 5, 10
8 dextu $2, $4, 34, 6 # OBJ: dext ${{[0-9]+}}, ${{[0-9]+}}, 34, 6
9 dextm $2, $4, 5, 34 # OBJ: dext ${{[0-9]+}}, ${{[0-9]+}}, 5, 34
10 dins $4, $5, 8, 10 # OBJ: dins ${{[0-9]+}}, ${{[0-9]+}}, 8, 10
11 dinsm $4, $5, 30, 6 # OBJ: dins ${{[0-9]+}}, ${{[0-9]+}}, 30, 6
12 dinsu $4, $5, 40, 13 # OBJ: dins ${{[0-9]+}}, ${{[0-9]+}}, 40, 13
13 # check the aliases
14 dins $2, $4, 5, 10 # OBJ: dins ${{[0-9]+}}, ${{[0-9]+}}, 5, 10
15 dins $2, $4, 34, 6 # OBJ: dins ${{[0-9]+}}, ${{[0-9]+}}, 34, 6
16 dins $2, $4, 5, 34 # OBJ: dins ${{[0-9]+}}, ${{[0-9]+}}, 5, 34
17 dext $2, $4, 5, 10 # OBJ: dext ${{[0-9]+}}, ${{[0-9]+}}, 5, 10
18 dext $2, $4, 34, 6 # OBJ: dext ${{[0-9]+}}, ${{[0-9]+}}, 34, 6
19 dext $2, $4, 5, 34 # OBJ: dext ${{[0-9]+}}, ${{[0-9]+}}, 5, 34
20 # check the edge values
21 dins $3, $4, 31, 1 # ASM: dins $3, $4, 31, 1
22 dins $3, $4, 31, 33 # ASM: dinsm $3, $4, 31, 33
23 dins $3, $4, 32, 32 # ASM: dinsu $3, $4, 32, 32
24 dext $3, $4, 31, 32 # ASM: dext $3, $4, 31, 32
25 dext $3, $4, 31, 33 # ASM: dextm $3, $4, 31, 33
26 dext $3, $4, 32, 32 # ASM: dextu $3, $4, 32, 32