]> granicus.if.org Git - yasm/commit
Implement first cut at optimizer step 2. Limitations:
authorPeter Johnson <peter@tortall.net>
Wed, 14 Jun 2006 07:23:49 +0000 (07:23 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 14 Jun 2006 07:23:49 +0000 (07:23 -0000)
commit61ff7870c9660cf586b4024aaf066288cf0be6b9
tree3a43d0965c80e6b672dd99ba73ffd7e1e805f0e1
parent28bcc6428375f16e874b90c9018c6086d9b6ea3d
Implement first cut at optimizer step 2.  Limitations:
- Does not detect cycles, so will infinite loop.
- Does not yet handle secondary expansion of bc offset bytecodes.
However, dwarf64_leb128 now generates essentially identical code to GAS
(except GAS generates relocs for in-file function refs, whereas yasm does not)
x86id tests also now work, but have not been checked yet (so no checkin of
new golden results yet).

svn path=/branches/new-optimizer/; revision=1578
libyasm/section.c
modules/dbgfmts/dwarf2/tests/pass64/dwarf64_leb128.hex