Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7628)

Issue 288070043: i#1114 JIT optimization: core integration

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 2 months ago by Byron
Modified:
8 years, 2 months ago
Reviewers:
bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1114 JIT optimization: core integration Complete the integration of the annotation-based optimization with the core. Leave the JIT fragment accounting itself NYI. ---------------

Patch Set 1 #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -21 lines) Patch
M core/arch/interp.c View 1 chunk +1 line, -1 line 0 comments Download
M core/fragment.c View 7 chunks +14 lines, -1 line 1 comment Download
M core/jit_opt.h View 2 chunks +19 lines, -2 lines 0 comments Download
M core/jit_opt.c View 14 chunks +133 lines, -11 lines 9 comments Download
M core/lib/dr_annotations.h View 1 chunk +3 lines, -0 lines 0 comments Download
M core/lib/dr_annotations.c View 1 chunk +3 lines, -0 lines 0 comments Download
M core/monitor.c View 3 chunks +5 lines, -0 lines 0 comments Download
M core/vmareas.c View 6 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 7
Byron
8 years, 2 months ago (2016-02-05 20:16:36 UTC) #1
Byron
My current implementation of the annotation-based JIT optimization is having issues with Ion, but I ...
8 years, 2 months ago (2016-02-05 20:23:21 UTC) #2
bruening
LGTM https://codereview.appspot.com/288070043/diff/1/core/fragment.c File core/fragment.c (right): https://codereview.appspot.com/288070043/diff/1/core/fragment.c#newcode5719 core/fragment.c:5719: ok if you think it improves readability https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c ...
8 years, 2 months ago (2016-02-08 21:49:16 UTC) #3
Byron
https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c File core/jit_opt.c (right): https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c#newcode62 core/jit_opt.c:62: # if !(defined (WINDOWS) && defined (X64)) On 2016/02/08 ...
8 years, 2 months ago (2016-02-14 01:26:59 UTC) #4
bruening
https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c File core/jit_opt.c (right): https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c#newcode62 core/jit_opt.c:62: # if !(defined (WINDOWS) && defined (X64)) On 2016/02/14 ...
8 years, 2 months ago (2016-02-14 04:19:38 UTC) #5
Byron
https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c File core/jit_opt.c (right): https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c#newcode62 core/jit_opt.c:62: # if !(defined (WINDOWS) && defined (X64)) On 2016/02/14 ...
8 years, 2 months ago (2016-02-14 10:28:56 UTC) #6
bruening
8 years, 2 months ago (2016-02-19 19:48:06 UTC) #7
On 2016/02/14 10:28:56, Byron wrote:
> https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c
> File core/jit_opt.c (right):
> 
> https://codereview.appspot.com/288070043/diff/1/core/jit_opt.c#newcode62
> core/jit_opt.c:62: # if !(defined (WINDOWS) && defined (X64))
> On 2016/02/14 04:19:38, bruening wrote:
> > On 2016/02/14 01:26:59, Byron wrote:
> > > On 2016/02/08 21:49:16, bruening wrote:
> > > > Do we have ARM support?
> > > 
> > > I'm not quite sure how things work on ARM. Since there is an explicit
icache
> > > flush instruction, can we just use the instruction as a trigger for the
> > sub-page
> > > flush? If so, does it require instrumentation (a preamble similar to our
> > > JIT-store preamble), or does the processor provide any kind of interrupt
for
> > > notification? I think those questions will determine whether this Valgrind
> > > annotation is useful to the optimization on ARM.
> > 
> > I'm asking a narrower question: you're assuming this will work on any
> non-Win64
> > platform (your ifdef above does, I mean), but our DR annotation
infrastructure
> > doesn't support ARM today, right?  Will we run into ARM build failures or
> > anything?
> 
> Annotations are currently disabled for ARM via cmake, and this entire block is
> part of the disabled region (see "#ifdef ANNOTATIONS" above). Should there
also
> be a "#if" clause for ARM here, in case the usage of ANNOTATIONS changes? 
> 
> We actually can support valgrind annotations on ARM (assuming we can borrow
> their detection code), so an alternative approach would be to set ANNOTATIONS
on
> by default for all platforms and just "#ifndef ARM" around the code specific
to
> DR annotations.

OK, just go with the simplest for this CL.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b