http://codereview.chromium.org/509001/diff/1004/1005 File src/ia32/codegen-ia32.cc (right):
http://codereview.chromium.org/509001/diff/1004/1005#newcode7452 src/ia32/codegen-ia32.cc:7452: __ fnclex(); I added some testing here to ensure that there were no corner cases that were causing uncaught exceptions. This will be removed again. Together with the CPU instruction set doc and the new smi-ops.js test I am confident that this is sound. On the other hand I had to insert the fnclex instruction because something in the system is leaving errors in the FPU processor status word somewhere else in the VM. I don't think this is a problem though it is worth bearing in mind for future code that uses fnstsw_ax. http://codereview.chromium.org/509001 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
