17 lines · plain
1# RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \2# RUN: FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3# RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \4# RUN: llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST5 6setx86j $a0, 17# CHECK-INST: setx86j $a0, 18# CHECK-ENCODING: encoding: [0x04,0x84,0x36,0x00]9 10setx86loope $a0, $a111# CHECK-INST: setx86loope $a0, $a112# CHECK-ENCODING: encoding: [0xa4,0x78,0x00,0x00]13 14setx86loopne $a0, $a115# CHECK-INST: setx86loopne $a0, $a116# CHECK-ENCODING: encoding: [0xa4,0x7c,0x00,0x00]17