Re: x86_64 ABI question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Fine <johnsfine@xxxxxxxxxxx> writes:

> When an unsigned int is passed or returned in a 64-bit register, does
> either the C or C++ ABI specify that the top half of the register
> contain zero?

There are threads on the subject at

http://groups.google.com/group/ia32-abi/browse_thread/thread/f47e0106b21d9269

http://gcc.gnu.org/ml/gcc/2008-01/msg00052.html

Short answer: the ABI does not specify, and gcc's behaviour has
recently changed.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux