On 06/12/2016 12:01 PM, Michael Rolnik wrote:
+ /* target is defined as bigendian for push_ret/pop_ret + optimization. but my decode assumes instruction to be in little + endian format, hence bswap + */ + inst->opcode = bswap32(inst->opcode);
You don't have to do that. Indeed, you shouldn't.Note in my reply to patch 8, how one can individually specify a big-endian load for one memory operation.
r~