|
Subzero: Switch to AT&T asm syntax. I give up.
The main motivation is that -build-on-read introduces Intel-style asm output like:
mov al, byte ptr [flags]
and llvm-mc misinterprets the global symbol "flags" as the flags register. Further workarounds will likely cost more effort than switching over to AT&T syntax.
Most of the lit tests don't need changing, since the asm text is generated by assembling and disassembling the llvm2ice asm output.
There some LEAHACK TODOs that can be fixed, but that would change some of the instructions, so that can be a separate CL.
The Operand emit() routines really ought to be moved entirely into the target-specific source files.
BUG= none
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=bca2f65551c65fdc18278bf88025c11d8af18579
Total comments: 4
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+353 lines, -381 lines) |
Patch |
 |
M |
pydir/crosstest.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
pydir/szbuild.py
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
src/IceCfg.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/IceInstX8632.h
|
View
|
1
|
5 chunks |
+18 lines, -9 lines |
0 comments
|
Download
|
 |
M |
src/IceInstX8632.cpp
|
View
|
1
2
|
40 chunks |
+164 lines, -185 lines |
0 comments
|
Download
|
 |
M |
src/IceInstX8632.def
|
View
|
|
1 chunk |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
src/IceOperand.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/IceOperand.cpp
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/IceTargetLoweringX8632.cpp
|
View
|
1
2
|
7 chunks |
+11 lines, -17 lines |
0 comments
|
Download
|
 |
M |
src/assembler_ia32.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/assembler/x86/immediate_encodings.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/assembler/x86/jump_encodings.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/assembler/x86/opcode_register_encodings.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/64bit.pnacl.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/8bit.pnacl.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/address-mode-opt.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/align-spill-locations.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/alloc.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/bitcast.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/branch-opt.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/callindirect.pnacl.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/cmp-opt.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/convert.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/div_legalization.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/ebp_args.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/fp.pnacl.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/fpcall.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/fpconst.pnacl.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/function_aligned.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/globalinit.pnacl.ll
|
View
|
|
2 chunks |
+9 lines, -23 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/mangle.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-atomic-fence-all.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-atomic-intrinsics.ll
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nacl-other-intrinsics.ll
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/nop-insertion.ll
|
View
|
|
1 chunk |
+39 lines, -39 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/phi.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/returns_twice_no_coalesce.ll
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/sdiv.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/select-opt.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/shift.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/simple-loop.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/test_i1.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/undef.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/unreachable.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-arg.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-arith.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-bitcast.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-cast.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-fcmp.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-icmp.ll
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-ops.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
tests_lit/llvm2ice_tests/vector-select.ll
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 6 (1 generated)
|