mirror of
https://github.com/yawut/SDL.git
synced 2026-04-19 07:07:19 -05:00
There's a bug in the VC7 optimizer relating to the duff loop optimization
This commit is contained in:
parent
a503d7728e
commit
7548e315b5
|
|
@ -375,7 +375,11 @@ do { \
|
|||
} while(0)
|
||||
|
||||
/* This is a very useful loop for optimizing blitters */
|
||||
#if defined(_MSC_VER) && (_MSC_VER == 1300)
|
||||
/* There's a bug in the Visual C++ 7 optimizer when compiling this code */
|
||||
#else
|
||||
#define USE_DUFFS_LOOP
|
||||
#endif
|
||||
#ifdef USE_DUFFS_LOOP
|
||||
|
||||
/* 8-times unrolled loop */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user