Current implementation of branchDouble function in baseline JIT is wrong for some conditions (1) and overkill for others (2). (1) With DoubleGreaterThanOrEqual condition for instance, branch will be taken if either operand is NaN with current implementation whereras it should not. (2) With DoubleNotEqualOrUnordered condition for instance, performed NaN checks are useless (because comparison result is false if either operand is NaN).
Created attachment 203428 [details] Fix floating point comparisons in sh4 baseline JIT
Comment on attachment 203428 [details] Fix floating point comparisons in sh4 baseline JIT Clearing flags on attachment: 203428 Committed r151032: <http://trac.webkit.org/changeset/151032>
All reviewed patches have been landed. Closing bug.