Fixing printing of floats.

This commit is contained in:
Ben Vanik 2014-01-31 22:51:18 -08:00
parent 458368c35e
commit 6ed411a08d
2 changed files with 4 additions and 3 deletions

View File

@ -17,7 +17,7 @@ namespace {
#define LIKE_REG(dest, like) Reg(dest.getIdx(), dest.getKind(), like.getBit(), false)
#define NAX_LIKE(like) Reg(e.rax.getIdx(), e.rax.getKind(), like.getBit(), false)
#define STASH_OFFSET 0
#define STASH_OFFSET 32
// If we are running with tracing on we have to store the EFLAGS in the stack,
// otherwise our calls out to C to print will clear it before DID_CARRY/etc

View File

@ -26,10 +26,11 @@ namespace x64 {
* NOTE: stack must always be 16b aligned.
*
* +------------------+
* | scratch, 56b | rsp + 0
* | arg temp, 3 * 8 | rsp + 0
* | |
* | .... |
* | |
* +------------------+
* | scratch, 24b | rsp + 32
* | |
* +------------------+
* | rbx | rsp + 56