brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 8e4ad8e Raw
41 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 6x86mfflag $a0, 17# CHECK-INST: x86mfflag $a0, 18# CHECK-ENCODING: encoding: [0x04,0x04,0x5c,0x00]9 10x86mtflag $a0, 111# CHECK-INST: x86mtflag $a0, 112# CHECK-ENCODING: encoding: [0x24,0x04,0x5c,0x00]13 14x86mftop $a015# CHECK-INST: x86mftop $a016# CHECK-ENCODING: encoding: [0x04,0x74,0x00,0x00]17 18x86mttop 119# CHECK-INST: x86mttop 120# CHECK-ENCODING: encoding: [0x20,0x70,0x00,0x00]21 22x86inctop23# CHECK-INST: x86inctop24# CHECK-ENCODING: encoding: [0x09,0x80,0x00,0x00]25 26x86dectop27# CHECK-INST: x86dectop28# CHECK-ENCODING: encoding: [0x29,0x80,0x00,0x00]29 30x86settm31# CHECK-INST: x86settm32# CHECK-ENCODING: encoding: [0x08,0x80,0x00,0x00]33 34x86clrtm35# CHECK-INST: x86clrtm36# CHECK-ENCODING: encoding: [0x28,0x80,0x00,0x00]37 38x86settag $a0, 1, 139# CHECK-INST: x86settag $a0, 1, 140# CHECK-ENCODING: encoding: [0x24,0x04,0x58,0x00]41