logical.py (6085:c210d3e04532) logical.py (6087:7736bc8824a1)
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

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

165{
166 limm t2, imm
167 rdip t7
168 ldst t1, seg, riprel, disp
169 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
170 st t1, seg, riprel, disp
171};
172
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

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

165{
166 limm t2, imm
167 rdip t7
168 ldst t1, seg, riprel, disp
169 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
170 st t1, seg, riprel, disp
171};
172
173def macroop XOR_LOCKED_M_I
174{
175 limm t2, imm
176 ldstl t1, seg, sib, disp
177 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
178 stul t1, seg, sib, disp
179};
180
181def macroop XOR_LOCKED_P_I
182{
183 limm t2, imm
184 rdip t7
185 ldstl t1, seg, riprel, disp
186 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
187 stul t1, seg, riprel, disp
188};
189
173def macroop XOR_M_R
174{
175 ldst t1, seg, sib, disp
176 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
177 st t1, seg, sib, disp
178};
179
180def macroop XOR_P_R
181{
182 rdip t7
183 ldst t1, seg, riprel, disp
184 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
185 st t1, seg, riprel, disp
186};
187
190def macroop XOR_M_R
191{
192 ldst t1, seg, sib, disp
193 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
194 st t1, seg, sib, disp
195};
196
197def macroop XOR_P_R
198{
199 rdip t7
200 ldst t1, seg, riprel, disp
201 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
202 st t1, seg, riprel, disp
203};
204
205def macroop XOR_LOCKED_M_R
206{
207 ldstl t1, seg, sib, disp
208 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
209 stul t1, seg, sib, disp
210};
211
212def macroop XOR_LOCKED_P_R
213{
214 rdip t7
215 ldstl t1, seg, riprel, disp
216 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
217 stul t1, seg, riprel, disp
218};
219
188def macroop XOR_R_M
189{
190 ld t1, seg, sib, disp
191 xor reg, reg, t1, flags=(OF,SF,ZF,PF,CF)
192};
193
194def macroop XOR_R_P
195{

--- 116 unchanged lines hidden ---
220def macroop XOR_R_M
221{
222 ld t1, seg, sib, disp
223 xor reg, reg, t1, flags=(OF,SF,ZF,PF,CF)
224};
225
226def macroop XOR_R_P
227{

--- 116 unchanged lines hidden ---