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

Issue 11090024: [MIPS] New pattern in validator to detect jumps/branches in delay slots. (Closed)

Created:
8 years, 2 months ago by petarj
Modified:
8 years, 2 months ago
Reviewers:
Mark Seaborn, JF
CC:
native-client-reviews_googlegroups.com
Base URL:
http://git.chromium.org/native_client/src/native_client.git@master
Visibility:
Public.

Description

[MIPS] New pattern in validator to detect jumps/branches in delay slots. New pattern and tests have been added to detect if a branch or jump is placed in delay slot. We need to avoid these situations since behaviour under these circumstances is 'unpredicted'. The commit queue is not working for NaCl at the moment, so we are committing with: NOTRY=true However, we have run a try job manually, and it passed fine. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2275 TEST= pnacl/build.sh misc-tools Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=10007

Patch Set 1 #

Total comments: 2

Patch Set 2 : Two more test cases added. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -2 lines) Patch
M src/trusted/validator_mips/build.scons View 1 chunk +1 line, -0 lines 0 comments Download
A src/trusted/validator_mips/testdata/test_unpredicted.S View 1 1 chunk +37 lines, -0 lines 0 comments Download
A src/trusted/validator_mips/testdata/test_unpredicted.err View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/trusted/validator_mips/validation-report.py View 1 chunk +5 lines, -0 lines 0 comments Download
M src/trusted/validator_mips/validator.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/trusted/validator_mips/validator.cc View 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
petarj
This is a follow-up from discussion on http://codereview.chromium.org/11016003/.
8 years, 2 months ago (2012-10-09 16:10:04 UTC) #1
Please use jfb - chromium.org
http://codereview.chromium.org/11090024/diff/1/src/trusted/validator_mips/testdata/test_unpredicted.S File src/trusted/validator_mips/testdata/test_unpredicted.S (right): http://codereview.chromium.org/11090024/diff/1/src/trusted/validator_mips/testdata/test_unpredicted.S#newcode27 src/trusted/validator_mips/testdata/test_unpredicted.S:27: end_of_code: Add test for jr in b's slot, and ...
8 years, 2 months ago (2012-10-09 16:44:31 UTC) #2
petarj
Done. Patch set with extended test cases added. http://codereview.chromium.org/11090024/diff/1/src/trusted/validator_mips/testdata/test_unpredicted.S File src/trusted/validator_mips/testdata/test_unpredicted.S (right): http://codereview.chromium.org/11090024/diff/1/src/trusted/validator_mips/testdata/test_unpredicted.S#newcode27 src/trusted/validator_mips/testdata/test_unpredicted.S:27: end_of_code: ...
8 years, 2 months ago (2012-10-10 12:12:14 UTC) #3
JF
lgtm
8 years, 2 months ago (2012-10-10 14:11:55 UTC) #4
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 2 months ago (2012-10-10 14:33:31 UTC) #5
petarj
On 2012/10/10 14:33:31, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
8 years, 2 months ago (2012-10-11 10:51:38 UTC) #6
Mark Seaborn
On 2012/10/11 10:51:38, petarj wrote: > On 2012/10/10 14:33:31, I haz the power (commit-bot) wrote: ...
8 years, 2 months ago (2012-10-16 01:12:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11090024/13002
8 years, 2 months ago (2012-10-16 08:57:53 UTC) #8
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 2 months ago (2012-10-16 10:00:57 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11090024/13002
8 years, 2 months ago (2012-10-16 10:07:14 UTC) #10
commit-bot: I haz the power
8 years, 2 months ago (2012-10-16 10:07:22 UTC) #11
Change committed as 10007

Powered by Google App Engine
This is Rietveld 408576698