Revision 1ffd41ee
b/target-i386/helper.c | ||
---|---|---|
404 | 404 |
env->mxcsr); |
405 | 405 |
for(i=0;i<8;i++) { |
406 | 406 |
#if defined(USE_X86LDOUBLE) |
407 |
union { |
|
408 |
long double d; |
|
409 |
struct { |
|
410 |
uint64_t lower; |
|
411 |
uint16_t upper; |
|
412 |
} l; |
|
413 |
} tmp; |
|
414 |
tmp.d = env->fpregs[i].d; |
|
407 |
CPU_LDoubleU u; |
|
408 |
u.d = env->fpregs[i].d; |
|
415 | 409 |
cpu_fprintf(f, "FPR%d=%016" PRIx64 " %04x", |
416 |
i, tmp.l.lower, tmp.l.upper);
|
|
410 |
i, u.l.lower, u.l.upper);
|
|
417 | 411 |
#else |
418 | 412 |
cpu_fprintf(f, "FPR%d=%016" PRIx64, |
419 | 413 |
i, env->fpregs[i].mmx.q); |
Also available in: Unified diff