Deleted Added
sdiff udiff text old ( 7087:fb8d5786ff30 ) new ( 8610:9bdd52a2214c )
full compact
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 47 unchanged lines hidden (view full) ---

56 ldst t1, seg, riprel, disp
57 or t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
58 st t1, seg, riprel, disp
59};
60
61def macroop OR_LOCKED_M_I
62{
63 limm t2, imm
64 ldstl t1, seg, sib, disp
65 or t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
66 stul t1, seg, sib, disp
67};
68
69def macroop OR_LOCKED_P_I
70{
71 limm t2, imm
72 rdip t7
73 ldstl t1, seg, riprel, disp
74 or t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
75 stul t1, seg, riprel, disp
76};
77
78def macroop OR_M_R
79{
80 ldst t1, seg, sib, disp
81 or t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
82 st t1, seg, sib, disp
83};
84
85def macroop OR_P_R
86{
87 rdip t7
88 ldst t1, seg, riprel, disp
89 or t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
90 st t1, seg, riprel, disp
91};
92
93def macroop OR_LOCKED_M_R
94{
95 ldstl t1, seg, sib, disp
96 or t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
97 stul t1, seg, sib, disp
98};
99
100def macroop OR_LOCKED_P_R
101{
102 rdip t7
103 ldstl t1, seg, riprel, disp
104 or t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
105 stul t1, seg, riprel, disp
106};
107
108def macroop OR_R_M
109{
110 ld t1, seg, sib, disp
111 or reg, reg, t1, flags=(OF,SF,ZF,PF,CF)
112};
113

--- 36 unchanged lines hidden (view full) ---

150 ldst t1, seg, riprel, disp
151 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
152 st t1, seg, riprel, disp
153};
154
155def macroop XOR_LOCKED_M_I
156{
157 limm t2, imm
158 ldstl t1, seg, sib, disp
159 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
160 stul t1, seg, sib, disp
161};
162
163def macroop XOR_LOCKED_P_I
164{
165 limm t2, imm
166 rdip t7
167 ldstl t1, seg, riprel, disp
168 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
169 stul t1, seg, riprel, disp
170};
171
172def macroop XOR_M_R
173{
174 ldst t1, seg, sib, disp
175 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
176 st t1, seg, sib, disp
177};
178
179def macroop XOR_P_R
180{
181 rdip t7
182 ldst t1, seg, riprel, disp
183 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
184 st t1, seg, riprel, disp
185};
186
187def macroop XOR_LOCKED_M_R
188{
189 ldstl t1, seg, sib, disp
190 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
191 stul t1, seg, sib, disp
192};
193
194def macroop XOR_LOCKED_P_R
195{
196 rdip t7
197 ldstl t1, seg, riprel, disp
198 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
199 stul t1, seg, riprel, disp
200};
201
202def macroop XOR_R_M
203{
204 ld t1, seg, sib, disp
205 xor reg, reg, t1, flags=(OF,SF,ZF,PF,CF)
206};
207

--- 42 unchanged lines hidden (view full) ---

250 ldst t2, seg, riprel, disp
251 limm t1, imm
252 and t2, t2, t1, flags=(OF,SF,ZF,PF,CF)
253 st t2, seg, riprel, disp
254};
255
256def macroop AND_LOCKED_M_I
257{
258 ldstl t2, seg, sib, disp
259 limm t1, imm
260 and t2, t2, t1, flags=(OF,SF,ZF,PF,CF)
261 stul t2, seg, sib, disp
262};
263
264def macroop AND_LOCKED_P_I
265{
266 rdip t7
267 ldstl t2, seg, riprel, disp
268 limm t1, imm
269 and t2, t2, t1, flags=(OF,SF,ZF,PF,CF)
270 stul t2, seg, riprel, disp
271};
272
273def macroop AND_M_R
274{
275 ldst t1, seg, sib, disp
276 and t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
277 st t1, seg, sib, disp
278};
279
280def macroop AND_P_R
281{
282 rdip t7
283 ldst t1, seg, riprel, disp
284 and t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
285 st t1, seg, riprel, disp
286};
287
288def macroop AND_LOCKED_M_R
289{
290 ldstl t1, seg, sib, disp
291 and t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
292 stul t1, seg, sib, disp
293};
294
295def macroop AND_LOCKED_P_R
296{
297 rdip t7
298 ldstl t1, seg, riprel, disp
299 and t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
300 stul t1, seg, riprel, disp
301};
302
303def macroop NOT_R
304{
305 limm t1, -1
306 xor reg, reg, t1
307};
308

--- 12 unchanged lines hidden (view full) ---

321 ldst t2, seg, riprel, disp
322 xor t2, t2, t1
323 st t2, seg, riprel, disp
324};
325
326def macroop NOT_LOCKED_M
327{
328 limm t1, -1
329 ldstl t2, seg, sib, disp
330 xor t2, t2, t1
331 stul t2, seg, sib, disp
332};
333
334def macroop NOT_LOCKED_P
335{
336 limm t1, -1
337 rdip t7
338 ldstl t2, seg, riprel, disp
339 xor t2, t2, t1
340 stul t2, seg, riprel, disp
341};
342'''