amd3dnow.txt
1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# RUN: llvm-mc --disassemble %s -triple=x86_64-unknown-linux-gnu | FileCheck %s
# Reference: AMD64 Architecture Programmer's Manual Vol.3
# Pub no. 24594 - Rev. 3.25 - Dec 2017 - pgs.468-469
# CHECK: pfcmpge %mm0, %mm1
0x0f 0x0f 0xc8 0x90
# CHECK: pfcmpgt %mm2, %mm0
0x0f 0x0f 0xc2 0xa0
# CHECK: pfcmpeq %mm5, %mm2
0x0f 0x0f 0xd5 0xb0
# CHECK: pfmin %mm1, %mm0
0x0f 0x0f 0xc1 0x94
# CHECK: pfmax (%rax), %mm0
0x0f 0x0f 0x00 0xa4
# CHECK: pfmul %mm6, %mm0
0x0f 0x0f 0xc6 0xb4
# CHECK: pfrcp %mm0, %mm0
0x0f 0x0f 0xc0 0x96
# CHECK: pfrcp (%rbx), %mm1
0x0f 0x0f 0x0b 0x96
# CHECK: pfrcpit1 %mm0, %mm2
0x0f 0x0f 0xd0 0xa6
# CHECK: pfrcpit2 %mm0, %mm1
0x0f 0x0f 0xc8 0xb6
# CHECK: pfrsqrt (%eax), %mm1
0x67 0x0f 0x0f 0x08 0x97
# CHECK: pfrsqit1 (%ebx), %mm4
0x67 0x0f 0x0f 0x23 0xa7
# CHECK: pmulhrw %mm3, %mm0
0x0f 0x0f 0xc3 0xb7
# CHECK: pi2fw %mm1, %mm3
0x0f 0x0f 0xd9 0x0c
# CHECK: pf2iw %mm2, %mm4
0x0f 0x0f 0xe2 0x1c
# CHECK: pi2fd %mm3, %mm1
0x0f 0x0f 0xcb 0x0d
# CHECK: pf2id (%rdi,%r8), %mm1
0x42 0x0f 0x0f 0x0c 0x07 0x1d
# CHECK: pfnacc 16(%eax,%ebx,4), %mm0
0x67 0x0f 0x0f 0x44 0x98 0x10 0x8a
# CHECK: pfsub %mm1, %mm0
0x0f 0x0f 0xc1 0x9a
# CHECK: pfsubr %mm2, %mm1
0x0f 0x0f 0xca 0xaa
# CHECK: pswapd %mm1, %mm3
0x0f 0x0f 0xd9 0xbb
# CHECK: pfpnacc %mm0, %mm2
0x0f 0x0f 0xd0 0x8e
# CHECK: pfadd %mm4, %mm3
0x0f 0x0f 0xdc 0x9e
# CHECK: pfacc %mm1, %mm2
0x0f 0x0f 0xd1 0xae
# CHECK: pavgusb %mm1, %mm3
0x0f 0x0f 0xd9 0xbf