How to use C-land variable from Cmm-land?

Kim-Ee Yeoh ky3 at atamo.com
Sun Dec 9 09:22:05 CET 2012


> When 32 bits are assigned to any of the standard registers, the upper 32
bits are implicitly set to zero. Intel is weird.

Didn't AMD invent the 64-bit extensions?

-- Kim-Ee



On Sun, Dec 9, 2012 at 3:07 PM, Axel Simon <Axel.Simon at in.tum.de> wrote:

>
> On 09.12.2012, at 00:12, Yuras Shumovich <shumovichy at gmail.com> wrote:
>
> > It looks wrong for me: the highest part of %rax remains uninitialized.
>
> When 32 bits are assigned to any of the standard registers, the upper 32
> bits are implicitly set to zero. Intel is weird.
>
> Axel
>
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20121209/6c74c944/attachment.htm>


More information about the Glasgow-haskell-users mailing list