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

Issue 2685213004: [x64] Use smaller code sequence when pushing SMIs (Closed)

Created:
3 years, 10 months ago by Clemens Hammacher
Modified:
3 years, 10 months ago
Reviewers:
Benedikt Meurer, ahaas
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[x64] Use smaller code sequence when pushing SMIs If exactly one byte in the upper half of the pushed 8-byte value is set, use a smaller code sequence to push this value on the stack. Before, we did movq r10,<constant> push r10 Now, we do push 0x0 movb [rsp+<offset>],<byte> The old sequence had 12 bytes, the new one has 7. Pushing such values is used a lot for stack frame markers, which are small numbers (1-17) encoded as SMIs. Review-Url: https://codereview.chromium.org/2685213004 Cr-Commit-Position: refs/heads/master@{#43146} Committed: https://chromium.googlesource.com/v8/v8/+/45f1bf80eaa72e05ead6c435b66e9607a6f65170

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -3 lines) Patch
M src/x64/macro-assembler-x64.cc View 1 chunk +12 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Clemens Hammacher
3 years, 10 months ago (2017-02-13 09:20:59 UTC) #8
Clemens Hammacher
perf try bots show that this reduces code size significantly on wasm. Performance changes are ...
3 years, 10 months ago (2017-02-13 09:23:27 UTC) #9
Benedikt Meurer
lgtm
3 years, 10 months ago (2017-02-13 09:30:50 UTC) #10
ahaas
lgtm
3 years, 10 months ago (2017-02-13 09:36:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685213004/1
3 years, 10 months ago (2017-02-13 09:40:52 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 10:03:14 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/45f1bf80eaa72e05ead6c435b66e9607a6f...

Powered by Google App Engine
This is Rietveld 408576698