Chromium Code Reviews| Index: src/x64/macro-assembler-x64.cc |
| =================================================================== |
| --- src/x64/macro-assembler-x64.cc (revision 2278) |
| +++ src/x64/macro-assembler-x64.cc (working copy) |
| @@ -420,6 +420,15 @@ |
| } |
| +void MacroAssembler::FCmp() { |
| + fcompp(); |
| + push(rax); |
| + fnstsw_ax(); |
| + sahf(); |
|
Lasse Reichstein
2009/06/26 09:41:04
Add comment that sahf isn't safe to use.
We shoul
William Hesse
2009/06/26 19:45:59
Done.
|
| + pop(rax); |
| +} |
| + |
| + |
| void MacroAssembler::CmpObjectType(Register heap_object, |
| InstanceType type, |
| Register map) { |