Browse Source

Use __attribute__((__aligned__(32))) instead of __attribute__((__packed__)) for 64/32 mixed mode.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3576 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.3
sletz 16 years ago
parent
commit
b9788bfec9
3 changed files with 7 additions and 2 deletions
  1. +4
    -0
      ChangeLog
  2. +1
    -1
      common/JackFrameTimer.h
  3. +2
    -1
      posix/JackCompilerDeps_os.h

+ 4
- 0
ChangeLog View File

@@ -25,6 +25,10 @@ Paul Davis
Jackdmp changes log
---------------------------

2009-07-07 Stephane Letz <letz@grame.fr>
* Use __attribute__((__aligned__(32))) instead of __attribute__((__packed__)) for 64/32 mixed mode.

2009-07-03 Stephane Letz <letz@grame.fr>
* Another Tim Bechmann memops.c optimization patch.


+ 1
- 1
common/JackFrameTimer.h View File

@@ -44,8 +44,8 @@ class SERVER_EXPORT JackTimer
jack_time_t fCurrentCallback;
jack_time_t fNextWakeUp;
float fSecondOrderIntegrator;
bool fInitialized;
float fFilterCoefficient; /* set once, never altered */
bool fInitialized;

public:


+ 2
- 1
posix/JackCompilerDeps_os.h View File

@@ -34,7 +34,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#if (__GNUC__< 4) /* Does not seem to work with GCC 3.XX serie */
#define POST_PACKED_STRUCTURE
#elif defined(JACK_32_64)
#define POST_PACKED_STRUCTURE __attribute__((__packed__))
//#define POST_PACKED_STRUCTURE __attribute__((__packed__))
#define POST_PACKED_STRUCTURE __attribute__((__aligned__(32)))
#else
#define POST_PACKED_STRUCTURE
#endif


Loading…
Cancel
Save