|
[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
Total comments: 8
|
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
|
Total messages: 8 (3 generated)
|