From: H. P. A. <hp...@zy...> - 2013-10-06 21:34:48
|
I would like to suggest that we pick out the flags that are actually used by the assembler for other than CPU feature determination, like the Sx flags, and move them to a separate word and have the rest indirect. On the other hand, perhaps that is a pretty useless distinction? Either way, good work on this! Cyrill Gorcunov <gor...@gm...> wrote: >Hi guys, here is early draft for instruction flags generator, >it might look somewhat ugly since I'm far from been perl experienced, >still take a look, and tell me what you think. > >There are some problem remains which I've not yet addressed > > - need to add flags into AVX512 templates > - need to address somehow "goodneds" in disassembler > (see second patch and fixme in the code) > >Cyrill Gorcunov (2): > insns-iflags.pl: Introduce instruction flags bitvector generator > insns.pl: Start using instruction flags generator > > Makefile.in | 9 +- > assemble.c | 27 +++--- > disasm.c | 6 +- >insns-iflags.pl | 295 >++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > insns.h | 113 +--------------------- > insns.pl | 22 +++-- > 6 files changed, 341 insertions(+), 131 deletions(-) > create mode 100644 insns-iflags.pl -- Sent from my mobile phone. Please pardon brevity and lack of formatting. |