I ended up only enabling the alignment macro if SSE is being used,
otherwise no alignment is done.  The macro is still broken though, so
don't try SSE :)  This is committed to CVS, I've attached a patch as
well against 1.0.6 if you want to do things that way.  Apply it by
changing to the toplevel FluidSynth directory and doing:
patch -p1 </path/to/fluidsynth_amd64.patch.

        Regards,
        Josh

--- fluidsynth-1.0.6/src/fluidsynth_priv.h      2005-06-11 16:40:01.000000000 -0500
+++ fluidsynth-1.0.6-new/src/fluidsynth_priv.h  2005-07-06 00:38:10.000000000 -0500
@@ -285,7 +285,12 @@
  * As soon as proper alignment is supported by the compiler, this
  * can be removed.
  */
+#ifdef ENABLE_SSE
+/* FIXME - This is broken on AMD 64 - only used if SSE enabled */
 #define FLUID_ALIGN16BYTE(ptr)(((int)(ptr)+15) & (~0xFL))
+#else
+#define FLUID_ALIGN16BYTE(ptr) ptr
+#endif

 #if WITH_FTS
 #define FLUID_PRINTF                 post

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
fluid-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to