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

Issue 2432373002: [SubZero] Fix f64 to/from i64 moves (Closed)

Created:
4 years, 2 months ago by jaydeep.patil
Modified:
4 years, 1 month 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] Fix f64 to/from i64 moves The allocation of Hi/Lo part of i64 on stack has been corrected as per MIPS32 ABI. The patch also fixes ZEXT issues occurred while lowering unsigned operations. Following tests from cross-test framework were testing successfully: (non-vector, ASM mode, Om1, O2) mem_intrin TotalTests=114300 Passes=114300 Failures=0 simple_loop TotalTests=102 Passes=102 Failures=0 test_arith TotalTests=49489704 Passes=49489704 Failures=0 test_bitmanip TotalTests=1200 Passes=1200 Failures=0 test_cast TotalTests=3722 Passes=3722 Failures=0 test_fcmp TotalTests=123904 Passes=123904 Failures=0 test_global TotalTests=270 Passes=270 Failures=0 test_icmp TotalTests=3341520 Passes=3341520 Failures=0 test_strengthreduce TotalTests=240 Passes=240 Failures=0 Following tests are disabled as they are either all-vectors or contain unimplemented intrinsic lowering: test_calling_conv test_select test_stacksave test_sync_atomic test_vector_ops There are couple of fixes to ARM32 and X86 specific files occurred due to compile-time errors. R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=a7979bfd84bc01c0891169e8d058063fe699cc0e

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed review comments #

Total comments: 6

Patch Set 3 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -44 lines) Patch
M crosstest/test_cast.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M crosstest/test_cast.cpp View 1 2 3 chunks +29 lines, -0 lines 0 comments Download
M crosstest/test_cast_main.cpp View 1 2 6 chunks +36 lines, -0 lines 0 comments Download
M crosstest/test_cast_to_u1.ll View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
M pydir/crosstest.py View 1 2 chunks +4 lines, -0 lines 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 2 11 chunks +122 lines, -39 lines 0 comments Download
M tests_lit/llvm2ice_tests/bitcast.ll View 1 1 chunk +2 lines, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/fp.load_store.ll View 1 1 chunk +1 line, -2 lines 0 comments Download
M tests_lit/llvm2ice_tests/load.ll View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
jaydeep.patil
4 years, 2 months ago (2016-10-19 09:15:01 UTC) #3
Jim Stichnoth
Sorry that the compile warnings/errors slipped through. I pushed a fix before this CL was ...
4 years, 2 months ago (2016-10-19 18:41:17 UTC) #4
jaydeep.patil
https://codereview.chromium.org/2432373002/diff/1/src/IceTargetLoweringMIPS32.cpp File src/IceTargetLoweringMIPS32.cpp (right): https://codereview.chromium.org/2432373002/diff/1/src/IceTargetLoweringMIPS32.cpp#newcode128 src/IceTargetLoweringMIPS32.cpp:128: for (Variable *Var : reverse_range(SortedSpilledVariables)) { On 2016/10/19 18:41:16, ...
4 years, 2 months ago (2016-10-20 04:35:40 UTC) #5
jaydeep.patil
Addressed review comments. I have added few MIPS32 specific tests in test_cast cross test to ...
4 years, 2 months ago (2016-10-20 13:21:00 UTC) #6
Jim Stichnoth
https://codereview.chromium.org/2432373002/diff/20001/crosstest/test_cast.h File crosstest/test_cast.h (right): https://codereview.chromium.org/2432373002/diff/20001/crosstest/test_cast.h#newcode24 crosstest/test_cast.h:24: #ifdef MIPS32 What do you think about running this ...
4 years, 2 months ago (2016-10-21 14:18:56 UTC) #7
jaydeep.patil
https://codereview.chromium.org/2432373002/diff/20001/crosstest/test_cast.h File crosstest/test_cast.h (right): https://codereview.chromium.org/2432373002/diff/20001/crosstest/test_cast.h#newcode24 crosstest/test_cast.h:24: #ifdef MIPS32 On 2016/10/21 14:18:56, Jim Stichnoth wrote: > ...
4 years, 1 month ago (2016-10-26 07:47:31 UTC) #8
Jim Stichnoth
LGTM. In the future please also run "make -f Makefile.standalone format". (I went ahead and ...
4 years, 1 month ago (2016-10-26 13:15:54 UTC) #9
Jim Stichnoth
Committed patchset #3 (id:40001) manually as a7979bfd84bc01c0891169e8d058063fe699cc0e (presubmit successful).
4 years, 1 month ago (2016-10-26 13:16:23 UTC) #11
jaydeep.patil
4 years, 1 month ago (2016-10-26 13:17:01 UTC) #12
Message was sent while issue was closed.
On 2016/10/26 13:15:54, Jim Stichnoth wrote:
> LGTM.
> 
> In the future please also run "make -f Makefile.standalone format".  (I went
> ahead and did that.)

Thanks Jim.

Powered by Google App Engine
This is Rietveld 408576698