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

Issue 6453142: i#751: IBL optimization

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: bruening@google.com i#751: IBL optimization i#751: IBL optimization. Spill xax, xcx, and xbx to r8, r9, and r10, respectively. Note: this breaks win32.x86_to_x64 test because r8 is clobbered (i#865).

Patch Set 1 #

Patch Set 2 : modify test suite win32.mixedmode to let clobbered r8 pass #

Total comments: 52

Patch Set 3 : Address Derek's comments. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -108 lines) Patch
M trunk/core/x86/arch.h View 2 chunks +4 lines, -2 lines 0 comments Download
M trunk/core/x86/arch_exports.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M trunk/core/x86/emit_utils.c View 1 2 37 chunks +192 lines, -46 lines 2 comments Download
M trunk/core/x86/instr.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M trunk/core/x86/instr.c View 1 chunk +13 lines, -0 lines 0 comments Download
M trunk/core/x86/interp.c View 1 2 8 chunks +80 lines, -36 lines 2 comments Download
M trunk/core/x86/mangle.c View 1 2 16 chunks +44 lines, -20 lines 0 comments Download
M trunk/core/x86/x86_to_x64.c View 1 2 1 chunk +1 line, -1 line 0 comments Download
M trunk/suite/tests/win32/mixedmode.c View 1 2 chunks +11 lines, -2 lines 0 comments Download

Messages

Total messages: 9
yangt
11 years, 8 months ago (2012-08-17 22:41:48 UTC) #1
Reid Kleckner (google)
I thought you were going to fix the test to make it not fail when ...
11 years, 8 months ago (2012-08-17 22:45:12 UTC) #2
yangt
11 years, 8 months ago (2012-08-20 19:07:49 UTC) #3
Reid Kleckner (google)
I want to get Derek's opinion in the meeting today on whether we should try ...
11 years, 8 months ago (2012-08-20 19:57:33 UTC) #4
bruening
mostly style issues but I'll take another look in a final round http://codereview.appspot.com/6453142/diff/4001/trunk/core/x86/arch_exports.h File trunk/core/x86/arch_exports.h ...
11 years, 8 months ago (2012-08-24 03:59:19 UTC) #5
yangt
11 years, 8 months ago (2012-08-24 20:25:00 UTC) #6
yangt
http://codereview.appspot.com/6453142/diff/4001/trunk/core/x86/arch_exports.h File trunk/core/x86/arch_exports.h (right): http://codereview.appspot.com/6453142/diff/4001/trunk/core/x86/arch_exports.h#newcode969 trunk/core/x86/arch_exports.h:969: (FRAG_IS_X86_TO_X64(flags) ? SIZE64_MOV_R8_TO_XAX : \ On 2012/08/24 03:59:19, bruening ...
11 years, 8 months ago (2012-08-24 20:25:16 UTC) #7
bruening
LGTM http://codereview.appspot.com/6453142/diff/11002/trunk/core/x86/emit_utils.c File trunk/core/x86/emit_utils.c (right): http://codereview.appspot.com/6453142/diff/11002/trunk/core/x86/emit_utils.c#newcode2715 trunk/core/x86/emit_utils.c:2715: * so we can use reg_get_bits(reg) for both ...
11 years, 8 months ago (2012-08-24 22:09:40 UTC) #8
yangt
11 years, 8 months ago (2012-08-27 14:56:09 UTC) #9
http://codereview.appspot.com/6453142/diff/11002/trunk/core/x86/emit_utils.c
File trunk/core/x86/emit_utils.c (right):

http://codereview.appspot.com/6453142/diff/11002/trunk/core/x86/emit_utils.c#...
trunk/core/x86/emit_utils.c:2715: * so we can use reg_get_bits(reg) for both reg
and rm.
On 2012/08/24 22:09:40, bruening wrote:
> hmm, to me seems cleaner to pass in r8/r9

Done.

http://codereview.appspot.com/6453142/diff/11002/trunk/core/x86/interp.c
File trunk/core/x86/interp.c (right):

http://codereview.appspot.com/6453142/diff/11002/trunk/core/x86/interp.c#newc...
trunk/core/x86/interp.c:4891: } else {
On 2012/08/24 22:09:40, bruening wrote:
> wait: what about x86_mode?  not supposed to get here I guess.  assert?

Done.
Sign in to reply to this message.

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