Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Issue 2080443002: Subzero: Improve lowering of rematerializable call args. (Closed)

Created:
4 years, 6 months ago by Jim Stichnoth
Modified:
4 years, 6 months ago
Reviewers:
Eric Holk, Karl, John, manasijm
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero: Improve lowering of rematerializable call args. Normally, if a call argument is a rematerializable Variable, it is rematerialized into a GPR (via the "lea" instruction) and then written into the appropriate arg space. This is appropriate for arguments passed on the stack, but for register arguments, it forces an unnecessary copy through another register. This CL allows that intermediate register copy to be removed. The resulting code looks cleaner, but it is unlikely to have much effect on performance - there really aren't register pressure issues because lots of scratch registers are available right before the call (which kills all scratch registers). BUG= none R=jpp@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=e450656d45ef91dc3a1cf51eda0e13fffdb7ff7d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/IceTargetLoweringX86BaseImpl.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (4 generated)
Jim Stichnoth
4 years, 6 months ago (2016-06-17 21:59:11 UTC) #4
John
lgtm
4 years, 6 months ago (2016-06-20 13:41:48 UTC) #5
Jim Stichnoth
4 years, 6 months ago (2016-06-20 13:44:15 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
e450656d45ef91dc3a1cf51eda0e13fffdb7ff7d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698