From: H. P. A. <hp...@zy...> - 2011-07-19 22:24:22
|
On 07/19/2011 03:07 PM, Cyrill Gorcunov wrote: > > Mahmoud, even if you're sending the whole assemble.c instead of > patch (or whatever) it must be compilable at least. > > The essential snippeted which has been changed is > > /*EMIT_REX takes no parameters*/ > void EMIT_REX(){ /*If this doesn't work try another type or leave it as a > define*/ > if (!(ins->rex & (REX_D|REX_V)) && (ins->rex & REX_REAL) && (bits == 64)) { > ins->rex = (ins->rex & REX_REAL)|REX_P; > out(offset, segment, &ins->rex, OUT_RAWDATA, 1, NO_SEG, NO_SEG); > ins->rex = 0; > offset += 1; > } > } I'm not really keen on making EMIT_REX() a function unless we can profile it and show it doesn't hurt performance... -hpa |