RESOLVED FIXED 69174
DFG JIT, Branch on integer can always be a 32-bit compare.
https://bugs.webkit.org/show_bug.cgi?id=69174
Summary DFG JIT, Branch on integer can always be a 32-bit compare.
Gavin Barraclough
Reported 2011-09-30 15:14:24 PDT
if (shouldSpeculateInteger(node.child1()) && !isStrictInt32(node.child1())), the JSVALUE64 JIT will currently compare all 64bits in the register, but in these cases the DataFormat is always a JS boxed integer. In these cases we can just compare the low 32bits anyway - no need to check the tag. This allows the code to be unified with the JSVALUE32_64 JIT.
Attachments
The patch (3.82 KB, patch)
2011-09-30 15:16 PDT, Gavin Barraclough
sam: review+
Gavin Barraclough
Comment 1 2011-09-30 15:16:07 PDT
Created attachment 109354 [details] The patch
Gavin Barraclough
Comment 2 2011-09-30 16:05:03 PDT
Fixed in r96436
Note You need to log in before you can comment on or make changes to this bug.