Author: post
Date: 2010-04-11 11:50:28 +0200 (Sun, 11 Apr 2010)
New Revision: 3355
Modified:
trunk/plugins/dcp/dcp-sse2.c
Log:
Use correct mask for removing sign.
Modified: trunk/plugins/dcp/dcp-sse2.c
===================================================================
--- trunk/plugins/dcp/dcp-sse2.c 2010-04-11 09:46:55 UTC (rev 3354)
+++ trunk/plugins/dcp/dcp-sse2.c 2010-04-11 09:50:28 UTC (rev 3355)
@@ -34,7 +34,7 @@
static gfloat _six_ps[4] __attribute__ ((aligned (16))) = {6.0f-1e-15,
6.0f-1e-15, 6.0f-1e-15, 6.0f-1e-15};
static gfloat _very_small_ps[4] __attribute__ ((aligned (16))) = {1e-15,
1e-15, 1e-15, 1e-15};
static const gfloat _two_to_23_ps[4] __attribute__ ((aligned (16))) = {
0x1.0p23f, 0x1.0p23f, 0x1.0p23f, 0x1.0p23f };
-static guint _ps_mask_sign[4] __attribute__ ((aligned (16))) =
{0x4fffffff,0x4fffffff,0x4fffffff,0x4fffffff};
+static guint _ps_mask_sign[4] __attribute__ ((aligned (16))) =
{0x7fffffff,0x7fffffff,0x7fffffff,0x7fffffff};
#define DW(A) _mm_castps_si128(A)
#define PS(A) _mm_castsi128_ps(A)
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit