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

Issue 2619943003: [SubZero] Fix code generation issues occurred in Cross-test and PNaCL smoke-tests (Closed)

Created:
3 years, 11 months ago by jaydeep.patil
Modified:
3 years, 11 months ago
CC:
native-client-reviews_googlegroups.com, rich.fuhler_imgtec.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[SubZero] Fix code generation issues occurred in Cross-test and PNaCL smoke-tests The patch fixes various code generation issues found during testing of Cross-test and PNaCL smoke-test framework. 1) To keep track of branches to same label, relative position of the branch from previous branch is used. 2) Fixed encoding of conditional mov instructions 3) Added MovFP64ToI64 instruction for f64 to i64 move 4) Handled vector-types in Phi nodes 5) Fixed alignment of spilled vector arguments on stack 6) Save-restore FP registers 7) Fixed code generation for Zext and Sext operations 8) Fixed InsertElement for vi16x8 type R=stichnot@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=2bbda7f48c30683eea26e4901054c58b79221d53

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+581 lines, -305 lines) Patch
M src/IceAssemblerMIPS32.cpp View 1 6 chunks +18 lines, -6 lines 0 comments Download
M src/IceInstMIPS32.h View 1 3 chunks +40 lines, -0 lines 0 comments Download
M src/IceInstMIPS32.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M src/IcePhiLoweringImpl.h View 1 2 chunks +19 lines, -1 line 0 comments Download
M src/IceTargetLoweringMIPS32.h View 3 chunks +9 lines, -1 line 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 26 chunks +196 lines, -50 lines 0 comments Download
M tests_lit/assembler/mips32/encoding_intrinsics.ll View 9 chunks +22 lines, -16 lines 0 comments Download
M tests_lit/assembler/mips32/encoding_test_arith_fp.ll View 3 chunks +35 lines, -12 lines 0 comments Download
M tests_lit/assembler/mips32/encoding_test_fcmp.ll View 32 chunks +88 lines, -88 lines 0 comments Download
M tests_lit/assembler/mips32/encoding_trap.ll View 1 chunk +1 line, -1 line 0 comments Download
M tests_lit/llvm2ice_tests/alloc.ll View 4 chunks +10 lines, -10 lines 0 comments Download
M tests_lit/llvm2ice_tests/bitcast.ll View 2 chunks +8 lines, -8 lines 0 comments Download
M tests_lit/llvm2ice_tests/fp.call_ret.ll View 4 chunks +12 lines, -12 lines 0 comments Download
M tests_lit/llvm2ice_tests/vector-cast.ll View 21 chunks +28 lines, -12 lines 0 comments Download
M tests_lit/llvm2ice_tests/vector-icmp.ll View 72 chunks +72 lines, -72 lines 0 comments Download
M tests_lit/llvm2ice_tests/vector-select.ll View 16 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
jaydeep.patil
3 years, 11 months ago (2017-01-10 05:55:02 UTC) #3
Jim Stichnoth
https://codereview.chromium.org/2619943003/diff/1/src/IceAssemblerMIPS32.cpp File src/IceAssemblerMIPS32.cpp (right): https://codereview.chromium.org/2619943003/diff/1/src/IceAssemblerMIPS32.cpp#newcode200 src/IceAssemblerMIPS32.cpp:200: if (NextBrPc) In the code base, we have preferred ...
3 years, 11 months ago (2017-01-11 05:23:58 UTC) #4
jaydeep.patil
https://codereview.chromium.org/2619943003/diff/1/src/IceAssemblerMIPS32.cpp File src/IceAssemblerMIPS32.cpp (right): https://codereview.chromium.org/2619943003/diff/1/src/IceAssemblerMIPS32.cpp#newcode200 src/IceAssemblerMIPS32.cpp:200: if (NextBrPc) On 2017/01/11 05:23:58, Jim Stichnoth wrote: > ...
3 years, 11 months ago (2017-01-11 05:45:10 UTC) #5
Jim Stichnoth
lgtm
3 years, 11 months ago (2017-01-11 05:48:45 UTC) #6
Jim Stichnoth
3 years, 11 months ago (2017-01-11 05:49:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2bbda7f48c30683eea26e4901054c58b79221d53 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698