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

Issue 2085303002: Subzero, MIPS32: Cross-testing enabled for MIPS32 (Closed)

Created:
4 years, 6 months ago by obucinac
Modified:
4 years, 2 months ago
CC:
native-client-reviews_googlegroups.com, rich.fuhler_imgtec.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero, MIPS32: Cross-testing enabled for MIPS32 Enables running crosstests for MIPS32 target. R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=623f8ce32c8dd33f9c755dde229967dfddd3353b

Patch Set 1 #

Total comments: 2

Patch Set 2 : WIP, MIPS toolchain required #

Patch Set 3 : Crosstest running #

Patch Set 4 : Crosstests running #

Total comments: 30

Patch Set 5 : Changes according to review comments #

Total comments: 3

Patch Set 6 : Provided patch applied #

Patch Set 7 : Crosstests running with two test passed #

Patch Set 8 : Fixing accidentaly removed parameters #

Total comments: 8

Patch Set 9 : Addressing review comments #

Patch Set 10 : ctlz for i64, cttz for i64, tests cases for constant operands added #

Patch Set 11 : Revert "ctlz for i64, cttz for i64, tests cases for constant operands added" #

Patch Set 12 : Should be same as #9 #

Total comments: 1

Patch Set 13 : FINALLY WORKING!!! #

Patch Set 14 : Fix for test_strengthreduce crosstest, now also working #

Patch Set 15 : Fix typo for srlv opcode #

Unified diffs Side-by-side diffs Delta from patch set Stats (+267 lines, -46 lines) Patch
M Makefile.standalone View 1 2 3 4 5 6 7 8 10 11 13 4 chunks +20 lines, -2 lines 0 comments Download
M pydir/build-runtime.py View 1 2 3 4 5 6 7 8 10 11 10 chunks +28 lines, -19 lines 0 comments Download
M pydir/crosstest.py View 1 2 3 4 5 6 7 8 10 11 7 chunks +17 lines, -11 lines 0 comments Download
M pydir/crosstest_generator.py View 1 2 3 4 10 11 3 chunks +12 lines, -4 lines 0 comments Download
M pydir/run-pnacl-sz.py View 1 2 3 4 5 6 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M pydir/szbuild.py View 1 2 10 11 2 chunks +2 lines, -1 line 0 comments Download
M pydir/targets.py View 1 2 3 4 5 6 7 10 11 2 chunks +15 lines, -1 line 0 comments Download
M pydir/utils.py View 1 2 10 11 1 chunk +6 lines, -2 lines 0 comments Download
A + runtime/szrt_asm_mips32.s View 1 2 3 4 5 6 10 11 2 chunks +3 lines, -3 lines 0 comments Download
M src/IceAssemblerMIPS32.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +23 lines, -0 lines 0 comments Download
M src/IceAssemblerMIPS32.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +75 lines, -0 lines 0 comments Download
M src/IceInstMIPS32.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -1 line 0 comments Download
M src/IceInstMIPS32.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +52 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (6 generated)
obucinac
4 years, 6 months ago (2016-06-22 15:05:22 UTC) #3
Jim Stichnoth
This is really great that you're working on bringing up cross tests. These are immensely ...
4 years, 6 months ago (2016-06-22 19:14:16 UTC) #4
obucinac
On 2016/06/22 19:14:16, stichnot wrote: > This is really great that you're working on bringing ...
4 years, 6 months ago (2016-06-22 19:43:21 UTC) #5
obucinac
Patchset 4 is combined work from Mohit, Jaydeep and me. It uses MIPS toolchain available ...
4 years, 4 months ago (2016-08-22 16:19:06 UTC) #6
obucinac
For the reference, this is the list of all arm and mipsel toolchain related packages ...
4 years, 4 months ago (2016-08-22 16:47:10 UTC) #7
obucinac
More complete list: $ dpkg -l '*' | grep '\-arm' | grep 'ii ' | ...
4 years, 4 months ago (2016-08-22 16:51:15 UTC) #8
Jim Stichnoth
On 2016/08/22 16:19:06, obucinac wrote: > Patchset 4 is combined work from Mohit, Jaydeep and ...
4 years, 4 months ago (2016-08-22 17:36:40 UTC) #10
obucinac
This command works for me /subzero/nacl/native_client/toolchain_build/src/subzero$ ./pydir/crosstest_generator.py -v --filetype=asm --toolchain-root /subzero/subzero/nacl/native_client/toolchain/linux_x86/ -i mips32,native,Om1,simple_loop
4 years, 4 months ago (2016-08-22 17:39:01 UTC) #11
Jim Stichnoth
On 2016/08/22 17:39:01, obucinac wrote: > This command works for me > > /subzero/nacl/native_client/toolchain_build/src/subzero$ > ...
4 years, 4 months ago (2016-08-22 17:49:42 UTC) #12
obucinac
On 2016/08/22 17:49:42, stichnot wrote: > On 2016/08/22 17:39:01, obucinac wrote: > > This command ...
4 years, 4 months ago (2016-08-22 18:16:01 UTC) #13
obucinac
On 2016/08/22 18:16:01, obucinac wrote: > On 2016/08/22 17:49:42, stichnot wrote: > > On 2016/08/22 ...
4 years, 4 months ago (2016-08-22 18:20:13 UTC) #14
Jim Stichnoth
https://codereview.chromium.org/2085303002/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/2085303002/diff/60001/Makefile.standalone#newcode566 Makefile.standalone:566: -i mips32 \ Change these two mips32 lines to ...
4 years, 4 months ago (2016-08-23 14:56:49 UTC) #15
Jim Stichnoth
> I just updated my Ubuntu 14.04 to 16.04.1 and installed MIPS toolchain from > ...
4 years, 4 months ago (2016-08-23 17:22:36 UTC) #16
obucinac
On 2016/08/23 17:22:36, stichnot wrote: > > I just updated my Ubuntu 14.04 to 16.04.1 ...
4 years, 4 months ago (2016-08-24 13:22:30 UTC) #17
Jim Stichnoth
On 2016/08/24 13:22:30, obucinac wrote: > On 2016/08/23 17:22:36, stichnot wrote: > > > I ...
4 years, 4 months ago (2016-08-24 22:38:21 UTC) #18
obucinac
On 2016/08/24 22:38:21, stichnot wrote: > On 2016/08/24 13:22:30, obucinac wrote: > > On 2016/08/23 ...
4 years, 3 months ago (2016-08-30 12:26:28 UTC) #19
Jim Stichnoth
On 2016/08/30 12:26:28, obucinac wrote: > > I would start right away on a CL ...
4 years, 3 months ago (2016-08-30 13:23:32 UTC) #20
Jim Stichnoth
https://codereview.chromium.org/2085303002/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/2085303002/diff/60001/Makefile.standalone#newcode566 Makefile.standalone:566: -i mips32 \ On 2016/08/23 14:56:48, stichnot wrote: > ...
4 years, 3 months ago (2016-09-02 15:49:31 UTC) #21
obucinac
https://codereview.chromium.org/2085303002/diff/60001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/2085303002/diff/60001/Makefile.standalone#newcode566 Makefile.standalone:566: -i mips32 \ On 2016/09/02 15:49:31, stichnot wrote: > ...
4 years, 3 months ago (2016-09-05 16:56:00 UTC) #22
obucinac
https://codereview.chromium.org/2085303002/diff/80001/pydir/crosstest.py File pydir/crosstest.py (right): https://codereview.chromium.org/2085303002/diff/80001/pydir/crosstest.py#newcode190 pydir/crosstest.py:190: objcopy=GetObjcopyCmd(args.target)), These symbols can not be stripped from obj ...
4 years, 3 months ago (2016-09-05 17:02:08 UTC) #23
Jim Stichnoth
There are still problems with this patchset, with respect to running tests in a non-MIPS ...
4 years, 3 months ago (2016-09-06 19:04:44 UTC) #24
obucinac
This is the stripping error message: [cmd] cat /tmp/tmpeuji82/szrt.ll /scratch/workareas/subzero/subzero/nacl/native_client/toolchain_build/src/subzero/runtime/szrt_ll.ll | pnacl-llc -externalize -function-sections -O2 ...
4 years, 3 months ago (2016-09-07 13:46:02 UTC) #25
obucinac
I maded a workaround for externalize and now I am able to run crosstests with ...
4 years, 3 months ago (2016-09-22 14:02:43 UTC) #26
Jim Stichnoth
Very nice! "make -f Makefile.standalone presubmit" works perfectly in my environment that does not contain ...
4 years, 3 months ago (2016-09-23 05:29:11 UTC) #27
obucinac
Jim, for some reason, I was never able to build sbtc. ./toolchain_build/toolchain_build_pnacl.py --build-sbtc does not ...
4 years, 3 months ago (2016-09-23 13:22:03 UTC) #28
Jim Stichnoth
On 2016/09/23 13:22:03, obucinac wrote: > Jim, for some reason, I was never able to ...
4 years, 3 months ago (2016-09-23 18:05:47 UTC) #30
obucinac
Messed up. I had crosstest patch applied to intrinsic calls branch for testing purposes, and ...
4 years, 2 months ago (2016-09-25 19:14:41 UTC) #31
obucinac
Jim, tested with the commands You sent, sbtc can be built, and I can successfully ...
4 years, 2 months ago (2016-09-25 21:50:02 UTC) #32
Jim Stichnoth
https://codereview.chromium.org/2085303002/diff/220001/Makefile.standalone File Makefile.standalone (right): https://codereview.chromium.org/2085303002/diff/220001/Makefile.standalone#newcode716 Makefile.standalone:716: # Run lit tests, cross tests, and unit tests. ...
4 years, 2 months ago (2016-09-26 05:20:04 UTC) #33
obucinac
Hello, I finally got it working. I added some missing instruction encodings, and simple_loop is ...
4 years, 2 months ago (2016-09-26 20:53:03 UTC) #34
Jim Stichnoth
LGTM!!!
4 years, 2 months ago (2016-09-27 03:01:32 UTC) #36
obucinac
YEAH!!! MERGE!!! MERGE!!!
4 years, 2 months ago (2016-09-27 03:03:19 UTC) #37
Jim Stichnoth
4 years, 2 months ago (2016-09-27 03:03:26 UTC) #39
Message was sent while issue was closed.
Committed patchset #15 (id:280001) manually as
623f8ce32c8dd33f9c755dde229967dfddd3353b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698