Revision bd37ec21 target-i386/exec.h
b/target-i386/exec.h | ||
---|---|---|
419 | 419 |
|
420 | 420 |
static inline CPU86_LDouble helper_fldt(target_ulong ptr) |
421 | 421 |
{ |
422 |
return *(CPU86_LDouble *)ptr; |
|
422 |
return *(CPU86_LDouble *)(unsigned long)ptr;
|
|
423 | 423 |
} |
424 | 424 |
|
425 | 425 |
static inline void helper_fstt(CPU86_LDouble f, target_ulong ptr) |
426 | 426 |
{ |
427 |
*(CPU86_LDouble *)ptr = f; |
|
427 |
*(CPU86_LDouble *)(unsigned long)ptr = f;
|
|
428 | 428 |
} |
429 | 429 |
|
430 | 430 |
#else |
Also available in: Unified diff