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

Issue 11016003: [MIPS] Use break instruction as NACL_HALT for MIPS. (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://src.chromium.org/native_client/trunk/src/native_client/
Visibility:
Public.

Description

[MIPS] Use break instruction as NACL_HALT for MIPS. Replacing previous NACL_HALT (jr $zero) with a break instruction. 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=9928

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove extra lines. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -110 lines) Patch
M src/trusted/service_runtime/arch/mips/nacl_syscall.S View 1 chunk +1 line, -1 line 0 comments Download
M src/trusted/service_runtime/arch/mips/nacl_text_pad_test.S View 1 2 chunks +8 lines, -6 lines 0 comments Download
M src/trusted/service_runtime/arch/mips/sel_ldr_mips.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M src/trusted/service_runtime/arch/mips/tramp_mips.S View 1 chunk +1 line, -1 line 0 comments Download
M src/trusted/service_runtime/nacl_config.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/trusted/validator_mips/gen/decode.cc View 9 chunks +31 lines, -19 lines 0 comments Download
M src/trusted/validator_mips/inst_classes.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/trusted/validator_mips/mips-opt.table View 15 chunks +79 lines, -76 lines 0 comments Download
M src/trusted/validator_mips/mips32.table View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
petarj
Resubmitting the patch from http://codereview.chromium.org/10978045/ with a correct base-url.
8 years, 2 months ago (2012-09-29 01:03:41 UTC) #1
Mark Seaborn
+jfb, who works on the ARM validator and will look at the validator change. LGTM ...
8 years, 2 months ago (2012-10-01 22:48:23 UTC) #2
petarj
Extra lines removed. A new patch set has been uploaded. http://codereview.chromium.org/11016003/diff/1/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h File src/trusted/service_runtime/arch/mips/sel_ldr_mips.h (right): http://codereview.chromium.org/11016003/diff/1/src/trusted/service_runtime/arch/mips/sel_ldr_mips.h#newcode10 ...
8 years, 2 months ago (2012-10-02 15:25:34 UTC) #3
JF
I though having jumps in delay slots was unpredictable, shouldn't back-to-back halts fail to validate? ...
8 years, 2 months ago (2012-10-02 23:20:55 UTC) #4
petarj
On 2012/10/02 23:20:55, JF wrote: > I though having jumps in delay slots was unpredictable, ...
8 years, 2 months ago (2012-10-02 23:32:45 UTC) #5
JF
> > shouldn't back-to-back halts fail to validate? > > Can you please elaborate this? ...
8 years, 2 months ago (2012-10-03 00:00:21 UTC) #6
petarj
On 2012/10/03 00:00:21, JF wrote: > Padding code locations with a bunch of jr to ...
8 years, 2 months ago (2012-10-03 01:02:32 UTC) #7
JF
> We are not padding any location with a bunch of jr to zero. We ...
8 years, 2 months ago (2012-10-03 01:13:41 UTC) #8
petarj
On 2012/10/03 01:13:41, JF wrote: Validator already checks for these patterns and will fail for ...
8 years, 2 months ago (2012-10-03 01:25:13 UTC) #9
JF
> Validator already checks for these patterns and will fail for validation. > You can ...
8 years, 2 months ago (2012-10-03 01:26:36 UTC) #10
petarj
On 2012/10/03 01:26:36, JF wrote: > > Validator already checks for these patterns and will ...
8 years, 2 months ago (2012-10-03 17:03:51 UTC) #11
Mark Seaborn
On 2012/10/02 23:20:55, JF wrote: > The rest looks good Based on that, LGTM :-)
8 years, 2 months ago (2012-10-03 17:14:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11016003/4002
8 years, 2 months ago (2012-10-03 21:04:02 UTC) #13
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-03 22:06:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11016003/4002
8 years, 2 months ago (2012-10-04 18:36:11 UTC) #15
Mark Seaborn
On 4 October 2012 11:36, <commit-bot@chromium.org> wrote: > CQ is trying da patch. Follow status ...
8 years, 2 months ago (2012-10-04 18:41:40 UTC) #16
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-04 19:38:40 UTC) #17
petarj
Results from "git try". All tries succeeded. http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.7_newlib_opt/builds/3057 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.7_glibc_opt/builds/3047 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.6_glibc_opt/builds/3043 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.6-newlib-dbg-clang/builds/3081 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.6_newlib_opt/builds/3039 http://build.chromium.org/p/tryserver.nacl/builders/nacl-lucid32_newlib_dbg/builds/3046 http://build.chromium.org/p/tryserver.nacl/builders/nacl-lucid32_newlib_opt/builds/3043 http://build.chromium.org/p/tryserver.nacl/builders/nacl-lucid32_glibc_opt/builds/3054 ...
8 years, 2 months ago (2012-10-04 21:45:40 UTC) #18
petarj
http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.7_newlib_opt/builds/3057 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.7_glibc_opt/builds/3047 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.6_glibc_opt/builds/3043 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.6-newlib-dbg-clang/builds/3081 http://build.chromium.org/p/tryserver.nacl/builders/nacl-mac10.6_newlib_opt/builds/3039 http://build.chromium.org/p/tryserver.nacl/builders/nacl-lucid32_newlib_dbg/builds/3046 http://build.chromium.org/p/tryserver.nacl/builders/nacl-lucid32_newlib_opt/builds/3043 http://build.chromium.org/p/tryserver.nacl/builders/nacl-lucid32_glibc_opt/builds/3054 http://build.chromium.org/p/tryserver.nacl/builders/nacl-win64_newlib_dbg/builds/3229 http://build.chromium.org/p/tryserver.nacl/builders/nacl-win32_glibc_opt/builds/3253 http://build.chromium.org/p/tryserver.nacl/builders/nacl-win32_newlib_opt/builds/3286 http://build.chromium.org/p/tryserver.nacl/builders/nacl-precise_64-newlib-x86_64-pnacl/builds/920 http://build.chromium.org/p/tryserver.nacl/builders/nacl-win64_newlib_opt/builds/3232 http://build.chromium.org/p/tryserver.nacl/builders/nacl-win64_glibc_opt/builds/3213 http://build.chromium.org/p/tryserver.nacl/builders/nacl-lucid_64-newlib-x86_64-pnacl-spec/builds/3035 ...
8 years, 2 months ago (2012-10-04 21:46:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/petarj@mips.com/11016003/4002
8 years, 2 months ago (2012-10-04 21:48:58 UTC) #20
commit-bot: I haz the power
Change committed as 9928
8 years, 2 months ago (2012-10-04 21:49:07 UTC) #21
Mark Seaborn
On 4 October 2012 14:45, <petarj@mips.com> wrote: > Results from "git try". All tries succeeded. ...
8 years, 2 months ago (2012-10-04 21:53:09 UTC) #22
petarj
On 2012/10/04 21:53:09, Mark Seaborn wrote: > On 4 October 2012 14:45, <mailto:petarj@mips.com> wrote: > ...
8 years, 2 months ago (2012-10-04 22:22:15 UTC) #23
petarj
When I said "the commit page" I meant the code review page. I.e. http://codereview.chromium.org/11016003/
8 years, 2 months ago (2012-10-04 22:24:50 UTC) #24
Mark Seaborn
On 4 October 2012 15:24, <petarj@mips.com> wrote: > When I said "the commit page" I ...
8 years, 2 months ago (2012-10-04 22:29:22 UTC) #25
petarj
On 2012/10/04 22:29:22, Mark Seaborn wrote: > Hmm, well, I don't see any trybot results ...
8 years, 2 months ago (2012-10-04 22:32:54 UTC) #26
Mark Seaborn
8 years, 2 months ago (2012-10-04 22:39:14 UTC) #27
On 4 October 2012 15:32, <petarj@mips.com> wrote:

> On 2012/10/04 22:29:22, Mark Seaborn wrote:
>
>  Hmm, well, I don't see any trybot results listed on that page.
>>
>
> Just click "Expand All Messages" and you will see the links to the results
> in
> one of the messages.
>

Ah, I see.  Sorry for the confusion.

In general, though, please can you try to get "git try" results to appear
on Rietveld normally?  It makes my task as reviewer easier if I can see the
trybot results (hopefully green ones!) displayed.  If that is not working,
please let me know what commands you are running to kick off try jobs.

Cheers,
Mark

-- 
You received this message because you are subscribed to the Google Groups
"Native-Client-Reviews" group.
To post to this group, send email to native-client-reviews@googlegroups.com.
To unsubscribe from this group, send email to
native-client-reviews+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/native-client-reviews?hl=en.

Powered by Google App Engine
This is Rietveld 408576698