Deleted Added
sdiff udiff text old ( 4569:8720f7848610 ) new ( 4587:2c9a2534a489 )
full compact
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

164 //Immediate fields
165 uint64_t immediate;
166 uint64_t displacement;
167
168 //The effective operand size.
169 uint8_t opSize;
170 //The effective address size.
171 uint8_t addrSize;
172
173 //Mode information
174 OperatingMode mode;
175 };
176
177 inline static std::ostream &
178 operator << (std::ostream & os, const ExtMachInst & emi)
179 {

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

188 (uint8_t)emi.modRM, (uint8_t)emi.sib,
189 emi.immediate, emi.displacement);
190 return os;
191 }
192
193 inline static bool
194 operator == (const ExtMachInst &emi1, const ExtMachInst &emi2)
195 {
196 if(emi1.mode != emi2.mode)
197 return false;
198 if(emi1.legacy != emi2.legacy)
199 return false;
200 if(emi1.rex != emi2.rex)
201 return false;
202 if(emi1.opcode.num != emi2.opcode.num)
203 return false;
204 if(emi1.opcode.op != emi2.opcode.op)
205 return false;

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

210 if(emi1.modRM != emi2.modRM)
211 return false;
212 if(emi1.sib != emi2.sib)
213 return false;
214 if(emi1.immediate != emi2.immediate)
215 return false;
216 if(emi1.displacement != emi2.displacement)
217 return false;
218 return true;
219 }
220
221 typedef uint64_t IntReg;
222 //XXX Should this be a 128 bit structure for XMM memory ops?
223 typedef uint64_t LargestRead;
224 typedef uint64_t MiscReg;
225

--- 26 unchanged lines hidden ---