Bug 22821

Summary: Combine op_bitand and op_jfalse instructions
Product: WebKit Reporter: Gabor Loki <loki>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: barraclough, gyuyoung, oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Add op_jnbitand instruction
none
SunSpider, V8, WindScorpion results (non-jit)
none
SunSpider, V8, WindScorpion results (JIT) none

Description Gabor Loki 2008-12-12 02:25:45 PST
I have found about 1% progression if we combine op_bitand and op_jfalse instructions.

I am going to attach the patch and the results.
Comment 1 Gabor Loki 2008-12-12 02:27:49 PST
Created attachment 25976 [details]
Add op_jnbitand instruction
Comment 2 Gabor Loki 2008-12-12 02:28:36 PST
Created attachment 25977 [details]
SunSpider, V8, WindScorpion results (non-jit)
Comment 3 Gabor Loki 2008-12-12 02:28:57 PST
Created attachment 25978 [details]
SunSpider, V8, WindScorpion results (JIT)
Comment 4 Oliver Hunt 2009-01-22 18:36:38 PST
Comment on attachment 25976 [details]
Add op_jnbitand instruction

Alas, i think the jit code for this is too out of date to be useful anymore, the code itself looks fine, so rather than r- i'll just clear the review flag.

sorry for the huge delay in review time.
Comment 5 Gabor Loki 2009-05-13 05:02:37 PDT
I did the performance test again on x86 without JIT, and there was no more progression.
Comment 6 Gavin Barraclough 2012-09-06 17:52:12 PDT
This patch won't still apply; this kind of optimization is now more appropriate in the DFG JIT.