how to add new instruction
Ian Lance Taylor
ian@airs.com
Fri Jan 14 06:11:00 GMT 2005
apollo <apollow@gmail.com> writes:
> i want to add a new instruction for x86 platform. i added codes in
> tree.def and rtl.def, but i can't find the place for the instruction
> set. could anyone tell me which file/files contain the x86 instruction
> set? thanks a lot.
config/i386/i386.md
But if your instruction uses new RTL codes, then you will probably
have to change something else to cause the instruction to be
generated.
Ian
More information about the Gcc
mailing list