From: | glen herrmannsfeldt <gah@ugcs.caltech.edu> |
Newsgroups: | comp.compilers |
Date: | 15 May 2005 17:26:38 -0400 |
Organization: | Compilers Central |
References: | 05-05-063 05-05-082 05-05-098 05-05-108 05-05-116 |
Keywords: | performance |
Posted-Date: | 15 May 2005 17:26:38 EDT |
Christian Bau wrote:
> glen herrmannsfeldt <gah@ugcs.caltech.edu> wrote:
(snip)
>>Does the OS save the full 64 bit registers when not in 64 bit mode?
(snip)
> or the designers are really really and I mean really
> absolutely incredibly braindamaged stupid. I would assume the first.
The case I was thinking of was running a 32 bit OS on a 64 bit
architecture that is an extension of a 32 bit architecture.
Say, for example, Win2000 on AMD-64 (x86-64). The OS has no idea that
the registers are 64 bits. Unless the hardware includes special mode
bits to stop the operations, the user should be able to use those
bits.
Since one could compile on one machine and run on another, it isn't
enough to check at compile time for a 64 bit OS.
-- glen
Return to the
comp.compilers page.
Search the
comp.compilers archives again.