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

Issue 6453095: i#751: Introduce shared_code_x86_to_x64.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by yangt
Modified:
5 months, 2 weeks ago
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Reviewer: rnk@google.com i#751: Introduce shared_code_x86_to_x64. i#751: Introduce shared_code_x86_to_x64. For the purpose of this CL, the shared_code_x86_to_x64 is the same as shared_code. Later, it will contain IBL routines that use r8-r10 as scratch space. We switch IBL in a mode-switching far jump. Now, emit_far_ibl() looks like before r1519. Also wrap the option x86_to_x64 with #ifdef X64. (not sure if I should submit it as a separate CL.)

Patch Set 1 #

Total comments: 38

Patch Set 2 : i#751: Introduce shared_code_x86_to_x64. #

Patch Set 3 : i#751: Introduce shared_code_x86_to_x64. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -84 lines) Patch
M trunk/core/optionsx.h View 1 chunk +2 lines, -0 lines 0 comments Download
M trunk/core/x86/arch.h View 1 6 chunks +21 lines, -13 lines 0 comments Download
M trunk/core/x86/arch.c View 1 2 17 chunks +101 lines, -25 lines 0 comments Download
M trunk/core/x86/decode.h View 1 chunk +1 line, -1 line 0 comments Download
M trunk/core/x86/emit_utils.c View 1 5 chunks +28 lines, -44 lines 1 comment Download
M trunk/core/x86/instr.c View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
yangt
11 years, 8 months ago (2012-08-07 22:26:04 UTC) #1
Reid Kleckner (google)
Only two comments. Derek is the one that wrote the mixed mode ibl support, so ...
11 years, 8 months ago (2012-08-08 15:03:10 UTC) #2
bruening
LGTM if you remove the far_jmp_opnd_for_x86_to_x64, per our chat discussion. Note that putting back the ...
11 years, 8 months ago (2012-08-09 15:56:16 UTC) #3
yangt
11 years, 8 months ago (2012-08-09 21:45:30 UTC) #4
yangt
Modified a lot of places. Would you please take another look? http://codereview.appspot.com/6453095/diff/1/trunk/core/x86/arch.c File trunk/core/x86/arch.c (right): ...
11 years, 8 months ago (2012-08-09 21:46:02 UTC) #5
yangt
11 years, 8 months ago (2012-08-10 18:29:42 UTC) #6
bruening
11 years, 8 months ago (2012-08-10 21:11:53 UTC) #7
LGTM

http://codereview.appspot.com/6453095/diff/1009/trunk/core/x86/emit_utils.c
File trunk/core/x86/emit_utils.c (right):

http://codereview.appspot.com/6453095/diff/1009/trunk/core/x86/emit_utils.c#n...
trunk/core/x86/emit_utils.c:5982: */
can you add a FIXME i#865 comment about preserving the app's r8-r15 during
32-bit execution
Sign in to reply to this message.

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