Closed
Bug 683187
Opened 13 years ago
Closed 6 years ago
OP_applytype must not launder its result type
Categories
(Tamarin Graveyard :: Virtual Machine, defect, P3)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
RESOLVED
WONTFIX
Q3 12 - Dolores
People
(Reporter: lhansen, Unassigned)
References
Details
(Whiteboard: PACMAN)
Attachments
(1 file)
9.83 KB,
patch
|
edwsmith
:
feedback+
|
Details | Diff | Splinter Review |
At present, the verifier computes the type NULL for OP_applytype, but much more is frequently known about the type, and by making that information available we allow operations that use the value computed by OP_applytype (such as OP_construct) to be specialized at compile time. In turn, the type of the value returned from the OP_construct will also be known. The cumulative effect is to speed up the evaluation of expressions such as vector initializers and operations on them.
Reporter | ||
Comment 1•13 years ago
|
||
Infer the result type of OP_applytype, under static versioning. This patch by itself - no changes to the code generator - yields good speedups on the benchmarks attached to bug #532690, speeding vector-init-1 from 282 to 338 it/sec (speedup=1.20) and vector-init-2 from 361 to 424 it/sec (speedup=1.17). Measurements were taken with various other pending optimization applied (notably inlining of vector writes, bug #599099). I guess the main question about this patch is whether the handling and creation of traits in the Vector.<C> case - non-primitive types - is correct, and if not, whether it can be made correct by adding guards that will succeed often in practice.
Attachment #557109 -
Flags: feedback?(edwsmith)
Reporter | ||
Updated•13 years ago
|
Whiteboard: PACMAN
Target Milestone: --- → Q4 11 - Anza
Comment 2•13 years ago
|
||
Verifier.cpp:1802: ... is factoring desireable? yup, desireable. maybe add an api in DomainMgr that takes param_ctraits and returns the possibly cached, created-on-demand new vector ctraits? The explicit string wrangling makes me nervous but given no other api, there's nothing obviously wrong about it. weird for surface syntax to show up here, ya know?
Updated•13 years ago
|
Attachment #557109 -
Flags: feedback?(edwsmith) → feedback+
Reporter | ||
Updated•13 years ago
|
Target Milestone: Q4 11 - Anza → Q1 12 - Brannan
Reporter | ||
Updated•13 years ago
|
Priority: -- → P3
Reporter | ||
Updated•12 years ago
|
Assignee: lhansen → edwsmith
Updated•12 years ago
|
Assignee: edwsmith → nobody
Target Milestone: Q1 12 - Brannan → Q3 12 - Dolores
Comment 4•6 years ago
|
||
No assignee, updating the status.
Comment 5•6 years ago
|
||
No assignee, updating the status.
Comment 6•6 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 7•6 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•