|
Convert lit tests to check disassembled assembly.
Then when we have an integrated assembler, we can check
its disassembly and the result should be the same.
This only touches the tests that invoke llvm-mc currently.
There are other tests which check for .s file output.
There are quite a bit of quirks with llvm-objdump,
which is unfortunate:
(*) The symbolizer doesn't pick up non-section-local
function calls. Some externals were converted to be
local functions. Workaround: where it counts, I just
left a check via .s files and a new --check-prefix.
It's a little better in 3.6.
(*) The symbolizer doesn't pick up global variable names.
I just checked for the relocation addend instead.
Didn't check if it was better in 3.6, but maybe.
(*) We have a bug in bundling lock + instructions.
See
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3929
(*) There's no disassembly for branch lables.
Checks of jump instructions were converted to check
for positive or negative values, depending on whether
it is a forward or backward branch.
BUG=none
R=stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=dddc306
Total comments: 1
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+832 lines, -613 lines) |
Patch |
 |
M |
tests_lit/llvm2ice_tests/64bit.pnacl.ll
|
View
|
1
2
3
|
18 chunks |
+115 lines, -88 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/address-mode-opt.ll
|
View
|
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/alloc.ll
|
View
|
|
5 chunks |
+19 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/bitcast.ll
|
View
|
1
2
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/callindirect.pnacl.ll
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/cmp-opt.ll
|
View
|
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/convert.ll
|
View
|
1
2
|
10 chunks |
+44 lines, -40 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/div_legalization.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/fp.pnacl.ll
|
View
|
1
2
3
|
57 chunks |
+127 lines, -81 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/fpconst.pnacl.ll
|
View
|
|
2 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll
|
View
|
1
2
|
6 chunks |
+25 lines, -18 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-atomic-fence-all.ll
|
View
|
1
2
|
7 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll
|
View
|
1
2
|
38 chunks |
+122 lines, -88 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll
|
View
|
|
18 chunks |
+94 lines, -52 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/sdiv.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/select-opt.ll
|
View
|
1
2
|
2 chunks |
+12 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/shift.ll
|
View
|
1
2
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/simple-loop.ll
|
View
|
|
3 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/undef.ll
|
View
|
1
2
|
27 chunks |
+47 lines, -47 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/unreachable.ll
|
View
|
1
2
3
|
2 chunks |
+17 lines, -5 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-arg.ll
|
View
|
1
2
|
7 chunks |
+33 lines, -32 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-arith.ll
|
View
|
1
2
3
|
2 chunks |
+25 lines, -14 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-bitcast.ll
|
View
|
1
2
3
|
21 chunks |
+29 lines, -30 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-cast.ll
|
View
|
|
3 chunks |
+16 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-fcmp.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-icmp.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-ops.ll
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-select.ll
|
View
|
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|