俺と AMD64 と FPU

そういえば64ビットモードのときのコプロの動作についてまともに解説しているところってちっともないなあ、どうなってんだろやっぱマニュアル読まないとダメぽ…?と思っていたのですが、AMD64 DRK のとこにある AMD64 Porting FAQ というのを読んだらこのようなQ&Aが。

Can x87 instructions still be used by 64-bit applications?
64-bit applications cannot use x87 instructions because 64-bit operating systems are not required to preserve the x87 stack across interrupts and context switches. AMD has gone to great lengths to ensure that SSE/SSE2 math library performance and accuracy exceeds that of the x87 instruction set. We anticipate no need to use x87 instructions in 64-bit applications.

「64ビットの実数計算は SSE(2) でよろすこ。FPU は捨てますた」ということみたいでした。おおう。