Debian Codegraph @

llvm/test/MC/LoongArch/lbt/x86-misc.s

raw
1 # RUN: llvm-mc --triple=loongarch64 --show-encoding %s | \
2 # RUN: FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 # RUN: llvm-mc --triple=loongarch64 --filetype=obj %s | \
4 # RUN: llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-INST
5
6 x86mfflag $a0, 1
7 # CHECK-INST: x86mfflag $a0, 1
8 # CHECK-ENCODING: encoding: [0x04,0x04,0x5c,0x00]
9
10 x86mtflag $a0, 1
11 # CHECK-INST: x86mtflag $a0, 1
12 # CHECK-ENCODING: encoding: [0x24,0x04,0x5c,0x00]
13
14 x86mftop $a0
15 # CHECK-INST: x86mftop $a0
16 # CHECK-ENCODING: encoding: [0x04,0x74,0x00,0x00]
17
18 x86mttop 1
19 # CHECK-INST: x86mttop 1
20 # CHECK-ENCODING: encoding: [0x20,0x70,0x00,0x00]
21
22 x86inctop
23 # CHECK-INST: x86inctop
24 # CHECK-ENCODING: encoding: [0x09,0x80,0x00,0x00]
25
26 x86dectop
27 # CHECK-INST: x86dectop
28 # CHECK-ENCODING: encoding: [0x29,0x80,0x00,0x00]
29
30 x86settm
31 # CHECK-INST: x86settm
32 # CHECK-ENCODING: encoding: [0x08,0x80,0x00,0x00]
33
34 x86clrtm
35 # CHECK-INST: x86clrtm
36 # CHECK-ENCODING: encoding: [0x28,0x80,0x00,0x00]
37
38 x86settag $a0, 1, 1
39 # CHECK-INST: x86settag $a0, 1, 1
40 # CHECK-ENCODING: encoding: [0x24,0x04,0x58,0x00]