Excellent! Thanks guys, this is a TON better!
I find it a little bit strange that it fetches the value of 0 from some
area in memory instead of just say xor RAX, RAX. I'm guessing it doesn't
know that the value is actually numeric 0? Is that because zero(T) isn't
being inlined fully perhaps?
at 6:32 PM, Rak Rok rak...@gmail.com wrote:
Excellent! Thanks guys, this is a TON better!
I find it a little bit strange that it fetches the value of 0 from some
area in memory instead of just say xor RAX, RAX. I'm guessing it doesn't
know that the value is actually numeric 0? Is that because
)::Int64
return 0
end::Int64
while for some reason the compiler doesn't know that the value is constant
in the case of foo (though it should).
On Wed, Apr 9, 2014 at 7:06 PM, Rak Rok rak...@gmail.com wrote:
I think the following code is more illustrative of the issue