repo.or.cz
/
nasm
/
avx512.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BR 812417: Deadman counter for macro expansion
[nasm/avx512.git]
/
test
/
lar_lsl.asm
blob
69c56fc99bafbe4316d8685a1a4ab5735cf9c0cb
1
; LAR/LSL
2
;---------
3
4
; 1x ; = invalid due to lack of REX
5
; 3x ; = invalid due to Mw
6
7
%
macro
m
1
8
9
bits
16
10
11
%
1
ax
,
ax
12
%
1
ax
,
eax
13
; %1 ax,rax
14
15
%
1
eax
,
ax
16
%
1
eax
,
eax
17
; %1 eax,rax
18
19
; %1 rax, ax
20
; %1 rax,eax
21
; %1 rax,rax
22
23
%
1
ax
, [
0
]
24
%
1
ax
,
word
[
0
]
25
;;; %1 ax,dword [0]
26
; %1 ax,qword [0]
27
28
%
1
eax
, [
0
]
29
%
1
eax
,
word
[
0
]
30
;;; %1 eax,dword [0]
31
; %1 eax,qword [0]
32
33
; %1 rax, [0]
34
; %1 rax, word [0]
35
; %1 rax,dword [0]
36
; %1 rax,qword [0]
37
38
bits
32
39
40
%
1
ax
,
ax
41
%
1
ax
,
eax
42
; %1 ax,rax
43
44
%
1
eax
,
ax
45
%
1
eax
,
eax
46
; %1 eax,rax
47
48
; %1 rax, ax
49
; %1 rax,eax
50
; %1 rax,rax
51
52
%
1
ax
, [
0
]
53
%
1
ax
,
word
[
0
]
54
;;; %1 ax,dword [0]
55
; %1 ax,qword [0]
56
57
%
1
eax
, [
0
]
58
%
1
eax
,
word
[
0
]
59
;;; %1 eax,dword [0]
60
; %1 eax,qword [0]
61
62
; %1 rax, [0]
63
; %1 rax, word [0]
64
; %1 rax,dword [0]
65
; %1 rax,qword [0]
66
67
bits
64
68
69
%
1
ax
,
ax
70
%
1
ax
,
eax
71
%
1
ax
,
rax
; $TODO: shouldn't emit REX.W $
72
73
%
1
eax
,
ax
74
%
1
eax
,
eax
75
%
1
eax
,
rax
; $TODO: shouldn't emit REX.W $
76
77
%
1
rax
,
ax
78
%
1
rax
,
eax
79
%
1
rax
,
rax
80
81
%
1
ax
, [
0
]
82
%
1
ax
,
word
[
0
]
83
;;; %1 ax,dword [0]
84
;;; %1 ax,qword [0]
85
86
%
1
eax
, [
0
]
87
%
1
eax
,
word
[
0
]
88
;;; %1 eax,dword [0]
89
;;; %1 eax,qword [0]
90
91
%
1
rax
, [
0
]
92
%
1
rax
,
word
[
0
]
93
;;; %1 rax,dword [0]
94
;;; %1 rax,qword [0]
95
96
%
endmacro
97
98
m
lar
99
100
m
lsl
101
102
bits
16
103
lar
ax
,[
si
]
104
lar
ax
,[
esi
]
105
bits
32
106
lar
ax
,[
si
]
107
lar
ax
,[
esi
]
108
bits
64
109
lar
ax
,[
esi
]
110
lar
ax
,[
rsi
]
111
112
bits
16
113
lsl
ax
,[
si
]
114
lsl
ax
,[
esi
]
115
bits
32
116
lsl
ax
,[
si
]
117
lsl
ax
,[
esi
]
118
bits
64
119
lar
ax
,[
esi
]
120
lsl
ax
,[
rsi
]
121
122
; EOF