x64 emitter now generating redirection blocks and patching them up.

This commit is contained in:
Ben Vanik
2013-05-23 22:09:04 -07:00
parent 12444f6305
commit d7d0b94aab
5 changed files with 522 additions and 445 deletions

View File

@@ -104,6 +104,7 @@ typedef XECACHEALIGN volatile void xe_aligned_void_t;
#define XEBITMASK(a, b) (((unsigned) -1 >> (31 - (b))) & ~((1U << (a)) - 1))
#define XESELECTBITS(value, a, b) ((value & XEBITMASK(a, b)) >> a)
#define XESUCCEED() goto XECLEANUP
#define XEFAIL() goto XECLEANUP
#define XEEXPECT(expr) if (!(expr) ) { goto XECLEANUP; }
#define XEEXPECTTRUE(expr) if (!(expr) ) { goto XECLEANUP; }