Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
misaligned SSE support works only for loads
  • Loading branch information
sshwarts committed Dec 9, 2007
1 parent 5350289 commit 6172f31
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cpu/cpu.h
@@ -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.
Expand Down Expand Up @@ -3039,20 +3039,11 @@ class BOCHSAPI BX_CPU_C : public logfunctions {
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);
Expand Down

0 comments on commit 6172f31

Please sign in to comment.