Under The Hood - Matt Pietrek

x64 Article _is_ available online now

In a nice twist, I recently learned that my x64 article for MSDN magazine is online now. In a previous post, I said that the article was in print, but was still a month from being online.

Stephen Toub, Technical Editor of MSDN wrote to tell me that they (MSDN) were just a bit behind in their web site update process, and that the May issue contents would be up shortly. I've just verified that myself, so check out http://msdn.microsoft.com/msdnmag/issues/06/05/x64/default.aspx

Published Monday, April 10, 2006 12:21 PM by Matt Pietrek

Comments

 

mikeb said:

I have 2 comments/questions on your new 64-bit article:

1) Since the R10 and R11 registers are volatile across function calls, do you know why aren't they used to pass parameters as well?  If the compiler were using them for something else they'll have to be reloaded after calling the function anyway, so why not just use them to pass in parameters?  Is there some negative processor or cache effect I'm missing?

2) If you update or do another 64-bit article, you might want to consider also mentioning a couple of other things (or maybe not):
    - HANDLES are pointer sized
    - be careful of 0xFFFFFFFF - it may not always extend to -1
    - _WIN32 is defined for 64-bit builds (in other words, _WIN32 really means "this is not a Win16 build")
   
Thanks.
   
   

April 11, 2006 7:56 PM
 

Norman Diamond said:

And how about that RIP register?  Does it point to where the process was executed, or where it was buried, or where your previous posting eulogized SoftICE?  Glad to see Intel has a sense of humour even if it's a bit tame  ^u^

Actually I'll have one or two serious comments on your article too, if I'll find time to read it carefully enough and write the questions.
April 11, 2006 11:52 PM
 

Takashi Toyota said:

Mr.Pietrek,

Why don't you update this blog more frequently?  I would like to read more what you write here!

I will read the article soon and be here back again with some comments.

April 14, 2006 3:55 AM
 

Wan-Teh Chang said:

I read your article with interest. Thanks.

It says that in the new 64-bit world, HANDLE is still 4 bytes.
(Search for "HANDLE are still 4 bytes" in the article.)

I believe that HANDLE is defined as "void *" and therefore
should be 64 bytes in Win64.
April 21, 2006 7:45 PM
New Comments to this post are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker