On Sun, Jun 13, 2010 at 7:38 PM, Dave Korn <dave.korn.cyg...@gmail.com> wrote: ... > What exact use would it be to you having the opcode bytes known during an > optimisation pass? There may be a better/easier way to do whatever it is > you're trying to do. > > cheers, > DaveK >
My main aim is to build platform-dependent optimization based on the minimizing of hamming distance between the instructions. So I need the platform-specific information like instruction codes. Well, may be I should to try to put it into GAS, not into the gcc. I just never looked over these assemblers. I thought that if gcc already have the base of optimizations then this will be a best place to put another one. I do not know now if these assembler tools have a room for optimization. Ilya K