misaligned SSE support works only for loads
This commit is contained in:
parent
688cb87e98
commit
ee465a7714
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: cpu.h,v 1.384 2007-12-06 16:57:58 sshwarts Exp $
|
||||
// $Id: cpu.h,v 1.385 2007-12-09 17:40:23 sshwarts Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -3039,20 +3039,11 @@ public: // for now...
|
||||
else \
|
||||
read_virtual_dqword(s, off, data);
|
||||
|
||||
#define writeVirtualDQwordAligned(s, off, data) \
|
||||
if (! MXCSR.get_misaligned_exception_mask()) \
|
||||
write_virtual_dqword_aligned(s, off, data); \
|
||||
else \
|
||||
write_virtual_dqword(s, off, data);
|
||||
|
||||
#else // BX_SUPPORT_MISALIGNED_SSE = 0
|
||||
|
||||
#define readVirtualDQwordAligned(s, off, data) \
|
||||
read_virtual_dqword_aligned(s, off, data)
|
||||
|
||||
#define writeVirtualDQwordAligned(s, off, data) \
|
||||
write_virtual_dqword_aligned(s, off, data)
|
||||
|
||||
#endif
|
||||
|
||||
BX_SMF void read_RMW_virtual_byte(unsigned seg, bx_address offset, Bit8u *data) BX_CPP_AttrRegparmN(3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user