May 31, 2015
Hi,

I noticed that(on x86) using core.bitop in LDC outputs a call instead of directly turning them into instructions as both dmd and gdc do.

Is this intended behavior?(I'm not a big assembly expert, so this could just be a really dumb question on my part.)

example:

LDC
http://goo.gl/T1ZJaD

dmd
http://goo.gl/f1gaOb

gdc
http://goo.gl/RDlP0n
May 31, 2015
On Sunday, 31 May 2015 at 01:16:14 UTC, rsw0x wrote:
> Hi,
>
> I noticed that(on x86) using core.bitop in LDC outputs a call instead of directly turning them into instructions as both dmd and gdc do.
>
> Is this intended behavior?(I'm not a big assembly expert, so this could just be a really dumb question on my part.)
>
> example:
>
> LDC
> http://goo.gl/T1ZJaD
>
> dmd
> http://goo.gl/f1gaOb
>
> gdc
> http://goo.gl/RDlP0n

Hi rsw0x,

this is not intended behaviour. Could you please create an issue for it?
(https://github.com/ldc-developers/ldc/issues) Thanks!

Regards,
Kai