|
From: <sv...@va...> - 2011-10-08 20:49:16
|
Author: sewardj Date: 2011-10-08 21:44:28 +0100 (Sat, 08 Oct 2011) New Revision: 2213 Log: A major overhaul to the amd64 instruction decoder. The purpose is to get to a situation where AVX instructions can be added relatively cleanly. The long chains of if-then-else-s previously used to identify instructions have are replaced by a shallow tree of switch statements. This is may or may not have the unintended but welcome side effect of making the whole JIT noticeably faster (seems like it, but I haven't measured properly yet). A few instructions (in, out variants, + others) have not yet been re-enabled, due to lack of test cases. Modified: branches/AVX/priv/guest_amd64_toIR.c [... diff too large to include ...] |