1 # RUN: llvm-mc %s -triple=csky -show-encoding -csky-no-aliases -mattr=+3e3r1 \
2 # RUN: | FileCheck -check-prefixes=CHECK-ASM,CHECK-ASM-AND-OBJ %s
3 # RUN: llvm-mc -filetype=obj -triple=csky -mattr=+3e3r1 < %s \
4 # RUN: | llvm-objdump --mattr=+3e3r1 -M no-aliases -M abi-names -d -r - \
5 # RUN: | FileCheck -check-prefixes=CHECK-ASM-AND-OBJ %s
8 # CHECK-ASM-AND-OBJ: mul.s32 a3, l0, a1
9 # CHECK-ASM: encoding: [0x24,0xf8,0x03,0x82]
12 # CHECK-ASM-AND-OBJ: mul.u32 a3, l0, a1
13 # CHECK-ASM: encoding: [0x24,0xf8,0x03,0x80]
16 # CHECK-ASM-AND-OBJ: mula.s32 a3, l0, a1
17 # CHECK-ASM: encoding: [0x24,0xf8,0x83,0x82]
20 # CHECK-ASM-AND-OBJ: mula.u32 a3, l0, a1
21 # CHECK-ASM: encoding: [0x24,0xf8,0x83,0x80]