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

Issue 12623002: - Allow the use of branch delay slots. (Closed)

Created:
7 years, 9 months ago by Ivan Posva
Modified:
7 years, 9 months ago
Reviewers:
zra, regis, srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Allow the use of branch delay slots. Committed: https://code.google.com/p/dart/source/detail?r=19669

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -2 lines) Patch
M runtime/vm/assembler.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/assembler_mips.h View 1 2 5 chunks +22 lines, -1 line 0 comments Download
M runtime/vm/assembler_mips_test.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/constants_mips.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ivan Posva
https://codereview.chromium.org/12623002/diff/1/runtime/vm/assembler.h File runtime/vm/assembler.h (right): https://codereview.chromium.org/12623002/diff/1/runtime/vm/assembler.h#newcode93 runtime/vm/assembler.h:93: template<typename T> void Backup() { If you have a ...
7 years, 9 months ago (2013-03-07 16:57:41 UTC) #1
srdjan
lgtm
7 years, 9 months ago (2013-03-07 17:07:30 UTC) #2
zra
lgtm https://codereview.chromium.org/12623002/diff/1/runtime/vm/assembler.h File runtime/vm/assembler.h (right): https://codereview.chromium.org/12623002/diff/1/runtime/vm/assembler.h#newcode93 runtime/vm/assembler.h:93: template<typename T> void Backup() { On 2013/03/07 16:57:41, ...
7 years, 9 months ago (2013-03-07 17:11:34 UTC) #3
regis
LGTM "Remit" is not bad, if a bit fancy. "RemoveLast" or "UndoEmit" may be clearer. ...
7 years, 9 months ago (2013-03-07 17:35:09 UTC) #4
Ivan Posva
Committed patchset #3 manually as r19669 (presubmit successful).
7 years, 9 months ago (2013-03-08 07:25:25 UTC) #5
Ivan Posva
7 years, 9 months ago (2013-03-08 09:44:20 UTC) #6
Message was sent while issue was closed.
On 2013/03/07 17:35:09, regis wrote:
> LGTM
> 
> "Remit" is not bad, if a bit fancy.
> "RemoveLast" or "UndoEmit" may be clearer.

I used "Remit". I like it and Zach is a native speaker.

> We will have to be careful not to bind a label and then use the delay slot.
Bind
> should make the delay slot unavailable.
> 
> Cute syntactic sugar:
> #define ____ assembler->delay_slot()->
> 
> __ jr(RA);
> ____ ori(V0, ZR, Immediate(42));

This could be a bit too subtle.

-Ivan

Powered by Google App Engine
This is Rietveld 408576698