applied a patch from Joao S. O. Bueno Calligaris that changes the SSE2

2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-sse2.c
	(gimp_composite_lighten_rgba8_rgba8_rgba8_sse2): applied a patch
	from Joao S. O. Bueno Calligaris that changes the SSE2 code to
	load the proper register. Fixes bug #164061.
This commit is contained in:
Sven Neumann 2005-05-06 12:30:51 +00:00 committed by Sven Neumann
parent c15742da22
commit 260bf6e8ba
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2005-05-06 Sven Neumann <sven@gimp.org>
* app/composite/gimp-composite-sse2.c
(gimp_composite_lighten_rgba8_rgba8_rgba8_sse2): applied a patch
from Joao S. O. Bueno Calligaris that changes the SSE2 code to
load the proper register. Fixes bug #164061.
2005-05-05 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpgradienteditor.c (control_draw)

View File

@ -590,7 +590,7 @@ gimp_composite_lighten_rgba8_rgba8_rgba8_sse2 (GimpCompositeContext *_op)
uint128 *B = (uint128 *) _op->B;
gulong n_pixels = _op->n_pixels;
asm volatile ("movq %0,%%mm0" : : "m" (*rgba8_alpha_mask_64) : "%mm0");
asm volatile ("movdqu %0,%%xmm0" : : "m" (*rgba8_alpha_mask_64) : "%xmm0");
for (; n_pixels >= 4; n_pixels -= 4)
{