]> granicus.if.org Git - yasm/commit
Shrink the size of the x86_insn_info structure, particularly on 64-bit
authorPeter Johnson <peter@tortall.net>
Tue, 11 Sep 2007 04:49:53 +0000 (04:49 -0000)
committerPeter Johnson <peter@tortall.net>
Tue, 11 Sep 2007 04:49:53 +0000 (04:49 -0000)
commita7f73e3a6c0fcb3c2e796d71210a5ddd8061215d
tree8ba7398228e59801de77e1911c17d4b12c1ec493
parentcfcad025c5adb928f5f0cd8794344f7bb3de5852
Shrink the size of the x86_insn_info structure, particularly on 64-bit
systems, by combining operand lists into a single array (and trying to find
overlaps where possible).  This saves about 4K even on a 32-bit system.

Also shrink the generated gperf code by outputting the number of info
structures directly rather than using NELEMS().

svn path=/trunk/yasm/; revision=1943
modules/arch/x86/gen_x86_insn.py
modules/arch/x86/x86id.c
x86insn_gas.gperf
x86insn_nasm.gperf
x86insns.c