Closed
Bug 661647
Opened 14 years ago
Closed 6 years ago
compare(String,String) optimizations don't happen on 64-bit
Categories
(Tamarin Graveyard :: Baseline JIT (CodegenLIR), defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Q3 12 - Dolores
People
(Reporter: edwsmith, Unassigned)
Details
(Whiteboard: loose-end, has-patch, PACMAN)
Attachments
(1 file)
963 bytes,
patch
|
Details | Diff | Splinter Review |
This logic uses LIR_calli to detect string,string comparisons involving String.charAt(), but since the helper functions return string pointers, the check should be LIR_callp. Basically these optimizations are disabled on x64.
if (lht == STRING_TYPE && rht == STRING_TYPE) {
if (localGetp(lhsi)->opcode() == LIR_calli) {
LIns* result = optimizeStringCmpWithStringCall(lhsi, rhsi, icmp, false);
if (result)
return result;
}
else if (localGetp(rhsi)->opcode() == LIR_calli) {
LIns* result = optimizeStringCmpWithStringCall(rhsi, lhsi, icmp, true);
if (result)
return result;
}
}
Reporter | ||
Comment 1•14 years ago
|
||
I targeted Serrano just to get it through the decision process, but if not Serrano, I recommend Anza -- low hanging fruit, why wait.
Flags: flashplayer-qrb?
Priority: -- → P3
Hardware: All → x86_64
Target Milestone: --- → Q3 11 - Serrano
Reporter | ||
Updated•14 years ago
|
Summary: compare(String,String) optimizations dont' happen on 64-bit → compare(String,String) optimizations don't happen on 64-bit
Updated•14 years ago
|
Target Milestone: Q3 11 - Serrano → Q4 11 - Anza
Flags: flashplayer-qrb?
Flags: flashplayer-qrb+
Flags: flashplayer-injection-
Flags: flashplayer-bug+
Assignee: nobody → edwsmith
Target Milestone: Q4 11 - Anza → Q2 12 - Cyril
Reporter | ||
Updated•13 years ago
|
Assignee: edwsmith → nobody
Target Milestone: Q1 12 - Brannan → Q3 12 - Dolores
Reporter | ||
Comment 2•13 years ago
|
||
Reporter | ||
Updated•13 years ago
|
Whiteboard: loose-end → loose-end, has-patch
Reporter | ||
Updated•13 years ago
|
Whiteboard: loose-end, has-patch → loose-end, has-patch, PACMAN
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•