RESOLVED FIXED 117049
[sh4] Optimize NaN checks in LLINT for floating point comparisons
https://bugs.webkit.org/show_bug.cgi?id=117049
Summary [sh4] Optimize NaN checks in LLINT for floating point comparisons
Julien Brianceau
Reported 2013-05-30 14:56:55 PDT
Use the fcmp/eq opcode in sh4 LLINT to test if a double is NaN. This is more efficient, doesn't require two tmp registers and requires less code than current implementation (which converts double to float, then checks 'E = Emax + 1' and 'f != 0').
Attachments
Optimize NaN checks in sh4 LLINT for floating point comparisons (4.62 KB, patch)
2013-05-30 15:16 PDT, Julien Brianceau
no flags
Julien Brianceau
Comment 1 2013-05-30 15:16:27 PDT
Created attachment 203384 [details] Optimize NaN checks in sh4 LLINT for floating point comparisons
WebKit Commit Bot
Comment 2 2013-05-30 16:21:08 PDT
Comment on attachment 203384 [details] Optimize NaN checks in sh4 LLINT for floating point comparisons Clearing flags on attachment: 203384 Committed r150992: <http://trac.webkit.org/changeset/150992>
WebKit Commit Bot
Comment 3 2013-05-30 16:21:10 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.