FreiK's WebLog

AMD64 (aka X64) Stuff - Random warblings of a 64 bit Windows junkie

Goofing around with TypeScript & Windows Script Host

I've been horsing around a lot lately with Windows Script Host for various reasons, some more...

Author: Kevin Frei Date: 10/19/2012

Quick note about x64 Tail call

A coworker on the CLR dropped by recently, having hit a brick wall about some problem he was having...

Author: Kevin Frei Date: 02/09/2009

What's in a title?

My wife just asked "What's an 'after-sales engineer'?" I parsed the terms, and came up with "Tech...

Author: Kevin Frei Date: 06/03/2008

The customer is wrong

I just watched the highly lame “You wouldn’t steal a car…Downloading pirated...

Author: Kevin Frei Date: 04/03/2008

Turning off comments for a while...

The spam bots have been causing me all sorts of trouble - I had over 1000 messages informing me that...

Author: Kevin Frei Date: 02/18/2008

Vista x64 Media Center 'fix'

<RETRACTION> Crap. After getting a couple of comments saying they tried the same thing, and it...

Author: Kevin Frei Date: 09/07/2007

How not to benchmark different languages

I've recently been trolling the web for any sort of language-comparision benchmarks, to see how the...

Author: Kevin Frei Date: 06/11/2007

Boost 1.34.0 and how to get it to build for AMD64...

I've recently been deluged by a pile of new electronic gadgets* so that I haven't had time to do...

Author: Kevin Frei Date: 06/07/2007

How to use RtlUnwindEx

Disclaimer: I've never actually written an unwind personality routine, so take what's here with a...

Author: Kevin Frei Date: 03/15/2007

AMD64 unwind info gotchas

I had a brief e-mail exchange with one of the devs on the optimizer team about a checkin he put up...

Author: Kevin Frei Date: 03/12/2007

New Job, SP1

I recently switched from the lead of the Code Gen & Tools team for Visual C++ to the lead for...

Author: Kevin Frei Date: 12/19/2006

Speaking in 'public'...

I'll be hanging out with the cool kids at the Northwest C++ Users Group tomorrow night. If you're in...

Author: Kevin Frei Date: 10/17/2006

Bug in x86 inline assembly to watch out for

Imagine this very lame code:int main() {} void BugAsm() { __asm { MOV [ESP+12],OFFSET main } }...

Author: Kevin Frei Date: 10/17/2006

A more flexible array template [and the evolution of the idea]

{Disclaimer - I started with a bunch of code from boost::array - it's a great implementation of the...

Author: Kevin Frei Date: 09/18/2006

ML64 bug to watch out for

If you're porting your application to x64, and you use much in the way of __asm in your x86 code,...

Author: Kevin Frei Date: 07/20/2006

Visual C++ Code Gen & Tools bugs

My role for the past 6 months (and the next several) I'm charged with effectively "going down with...

Author: Kevin Frei Date: 07/20/2006

Language & Library Evolution

Let’s say you have a programming language, K-- version 1.0, with it’s accompanying runtime library,...

Author: Kevin Frei Date: 05/26/2006

Updated ABI docs available + Exception Handling info

They're not marvelously better, but they include the introduction that I wrote a couple years ago...

Author: Kevin Frei Date: 04/07/2006

How to get CL.exe proxy filters (like STLFilt) working under VS2005

There's a class of tools that lots of people write that replace cl.exe with a 'wrapper' to do things...

Author: Kevin Frei Date: 04/05/2006

What does "Hot Patchability" mean and what is it for?

I got a question on my earlier ABI post about Hot Patchability, so I thought I'd go into...

Author: Kevin Frei Date: 03/07/2006

x64 ABI vs. x86 ABI (aka Calling Conventions for AMD64 & EM64T)

(This is an older post, with some mild cleanup, and fixed links) Before I start: ABI = Application...

Author: Kevin Frei Date: 03/06/2006

Why isn't __assume on for asserts in retail mode?

__assume and __forceinline were the first two features I implemented as a developer out of college....

Author: Kevin Frei Date: 01/30/2006

64 bit Microsoft Mouse & Keyboard Drivers!

I tried out Windows Vista 64 on a machine for a while, but had need of a more stable system (I...

Author: Kevin Frei Date: 01/07/2006

X64 Unwind Information

I've had a fairly large number of e-mails with various people both inside & outside Microsoft...

Author: Kevin Frei Date: 01/04/2006

The CD Copy Protection Morons

The poor sucker in my wife's family that drew my name for the annual christmas gift exchange bought...

Author: Kevin Frei Date: 12/20/2005

Whidbey RTM!

The golden build has been sent to replication (actually it was the end of last week, and if you...

Author: Kevin Frei Date: 11/02/2005

How to make a no-inline inline function (and why you might want to)

The Windows folks had a problem with the AMD64 compiler last week. The interference package is not...

Author: Kevin Frei Date: 10/26/2005

Useful DosKey + Command window titles

Mark got me mucking with my doskey macros again, and between the two of us came up with a fairly...

Author: Kevin Frei Date: 09/29/2005

Music & audio baloney

I wouldn't describe myself as an 'Audiophile', but I do own a lot of music (over 400 CD's, at last...

Author: Kevin Frei Date: 09/27/2005

64bit ATI drivers for EMachines laptops

Mike Wall, a very bright guy from AMD, just forwarded this to me. I figured it couldn't hurt to put...

Author: Kevin Frei Date: 07/18/2005

Driver complaint

<rant> Why is it that everyone decides to create their own whiz-bang interface for drivers...

Author: Kevin Frei Date: 07/17/2005

Hack to use Dell 1600n from x64!

I bought the Dell 1600n because it said it was a PostScript printer, assuming they just use standard...

Author: Kevin Frei Date: 07/15/2005

I'm (in)famous

It's been a while - I'm now the proud father of 3 children, up from a mere 2, and I'm finally back...

Author: Kevin Frei Date: 06/30/2005

x64 RTM'ed yesterday!

I just had to write something. The x64 OS RTM'ed last night. I'm upgrading all my machines to it...

Author: Kevin Frei Date: 03/31/2005

Native compilers in VS .Net & later...

This guy has a rather, uh, odd perspective on what the past & future Visual Studio products were...

Author: Kevin Frei Date: 03/24/2005

Some more random junk

Personal life & professional life all went crazy all at once - fun fun fun. I'm back, since my...

Author: Kevin Frei Date: 01/13/2005

Boost & BJam plus Web Chats coming up

I'm a big C++ fan, despite the fact that the VC++ optimizer is written in C. I've been using Boost...

Author: Kevin Frei Date: 11/08/2004

What is the difference between AMD64 & EM64T, really?

Yes, I've had inside information about all of this for quite some time, but none of this info is...

Author: Kevin Frei Date: 11/06/2004

First Post - all things x64

Welcome to my stinkin' blog. I just wanted a place to dump interesting & useful blobs of...

Author: Kevin Frei Date: 11/05/2004