2649Fermer2651
bearbecueLe 15/11/2011 à 11:57
super.. en recodant ca a la main en asm inline:
bearbecue :
	__asm
	{
		[...]

		cmp	eax, ecx
		jg	_SkipUnrolled
_LoopUnrolled:
		movaps	xmm0, [eax]
		movaps	xmm1, [eax + 0x10]
		movaps	xmm2, [eax + 0x20]
		movaps	xmm3, [eax + 0x30]

		minps	xmm6, xmm0
		maxps	xmm7, xmm0
		add	eax, 64
		minps	xmm6, xmm1
		maxps	xmm7, xmm1
		cmp	eax, ecx
		minps	xmm6, xmm2
		maxps	xmm7, xmm2
		minps	xmm6, xmm3
		maxps	xmm7, xmm3

		jbe	_LoopUnrolled
_SkipUnrolled:
		[...]
	}


comme c'est etonnant... * 3 en perfs woohoo \o/

putain de compilateur de merde...

squalyl> les offsets * 4, c'est normal, c'est des floats