Win64, merge-2.067, LLVM master, VS 2015 - current status

Kai Nacke via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Sat May 23 15:18:18 PDT 2015


On Wednesday, 20 May 2015 at 13:34:50 UTC, Temtaime wrote:
> Hi all !
> http://goo.gl/0JI4qJ
> Why ldc cannot optimize it ?
> Should i create an issue ?
> For example gdc uses only one mulfps.

Should be fixed. Now ldc generates:

	movups	(%r8), %xmm0
	shufps	$0, %xmm1, %xmm1
	mulps	%xmm0, %xmm1
	movups	%xmm1, (%rcx)
	movq	%rcx, %rax
	retq

Regards,
Kai


More information about the digitalmars-d-ldc mailing list