Bugs item #2837519, was opened at 2009-08-14 09:26 Message generated for change (Tracker Item Submitted) made by claudiusmaximus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2837519...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: externals Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: ClaudiusMaximus (claudiusmaximus) Assigned to: Nobody/Anonymous (nobody) Summary: pdp mmx problems on amd64
Initial Comment: pdp's "./configure --enable-mmx" leads to build failure on amd64:
make -C mmx make[3]: Entering directory `/build/buildd/pd-pdp-0.12.svn20090813/system/mmx' as -o pixel_pack_s16u8.o pixel_pack_s16u8.s pixel_pack_s16u8.s: Assembler messages: pixel_pack_s16u8.s:25: Error: suffix or operands invalid for `push' pixel_pack_s16u8.s:27: Error: suffix or operands invalid for `push' pixel_pack_s16u8.s:28: Error: suffix or operands invalid for `push' pixel_pack_s16u8.s:73: Error: suffix or operands invalid for `pop' pixel_pack_s16u8.s:74: Error: suffix or operands invalid for `pop' pixel_pack_s16u8.s:82: Error: suffix or operands invalid for `push' pixel_pack_s16u8.s:84: Error: suffix or operands invalid for `push' pixel_pack_s16u8.s:85: Error: suffix or operands invalid for `push' pixel_pack_s16u8.s:122: Error: suffix or operands invalid for `pop' pixel_pack_s16u8.s:123: Error: suffix or operands invalid for `pop' make[3]: *** [pixel_pack_s16u8.o] Error 1
it compiles fine on i386.
problem:
./configure doesn't automatically enable MMX if it is available, or disable it if requested but the CPU doesn't support it.
suggested fix:
add a test for build target CPU type in pdp/configure.ac and autoenable MMX if it is supported
suggested fix 2:
port the i386/mmx code to amd64/mmx, autoselect at compile time and/or run time
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2837519...