We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 736 - SSE instructions in MMX assembly routines, failing to build
Summary: SSE instructions in MMX assembly routines, failing to build
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-03 07:27 UTC by namida1
Modified: 2009-12-15 19:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description namida1 2009-05-03 07:27:06 UTC
In video/SDL_blit_copy.c in the MMX routines there is usage of the prefetch mnemonics causing build to fail when disabling SSE. 
that is: /autogen.sh --disable-3dnow --disable-sse --disable-sse2.
commenting out the prefetch caused SDL_blit_copy to compile but giving undefined references when linking programs against the built SDL with mm_stream not defined which again is an SSE instruction.
Comment 1 Sam Lantinga 2009-12-15 19:03:40 UTC
This is fixed in revision 5412.  Thanks!