how to get instruction codes in gcc passes?
Ilya K
ilya2do@gmail.com
Sun Jun 13 19:50:00 GMT 2010
On Sun, Jun 13, 2010 at 7:38 PM, Dave Korn <dave.korn.cygwin@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
More information about the Gcc
mailing list