|
From: <an...@us...> - 2012-03-28 06:04:10
|
Revision: 1520
http://graphics32.svn.sourceforge.net/graphics32/?rev=1520&view=rev
Author: angusj
Date: 2012-03-28 06:04:04 +0000 (Wed, 28 Mar 2012)
Log Message:
-----------
Minor changes to OMIT_SSE2 define logic
Modified Paths:
--------------
trunk/Source/GR32.inc
trunk/Source/GR32_Blend.pas
Modified: trunk/Source/GR32.inc
===================================================================
--- trunk/Source/GR32.inc 2012-03-28 00:53:53 UTC (rev 1519)
+++ trunk/Source/GR32.inc 2012-03-28 06:04:04 UTC (rev 1520)
@@ -178,11 +178,11 @@
For faster pixel/color processing, SSE2 can be used which results in a huge
performance boost over PUREPASCAL code or native assembler code.
- In older Delphi versions SSE2 can cause issues with the debugger and thus
- it is omited by default here.
+ In older Delphi versions SSE2 can cause issues and thus it is omited by
+ default here.
*)
{-$DEFINE OMIT_SSE2}
- {$IFNDEF COMPILER7_UP}
+ {$IFNDEF COMPILER2005_UP}
{$DEFINE OMIT_SSE2}
{$ENDIF}
Modified: trunk/Source/GR32_Blend.pas
===================================================================
--- trunk/Source/GR32_Blend.pas 2012-03-28 00:53:53 UTC (rev 1519)
+++ trunk/Source/GR32_Blend.pas 2012-03-28 06:04:04 UTC (rev 1520)
@@ -3763,7 +3763,7 @@
BlendRegistry.Add(FID_COLORSCALE, @ColorScale_MMX, [ciMMX]);
BlendRegistry.Add(FID_LIGHTEN, @LightenReg_MMX, [ciMMX]);
{$ENDIF}
-{$IFNDEF OMIT_MMX}
+{$IFNDEF OMIT_SSE2}
BlendRegistry.Add(FID_EMMS, @EMMS_SSE2, [ciSSE2]);
BlendRegistry.Add(FID_MERGEREG, @MergeReg_SSE2, [ciSSE2]);
BlendRegistry.Add(FID_COMBINEREG, @CombineReg_SSE2, [ciSSE2]);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|