SMALL_REGISTER_CLASSES

David Edelsohn dje@watson.ibm.com
Sun Jan 25 21:25:00 GMT 1998


>>>>> Geoffrey KEATING writes:

Geoffrey> Unfortunately, the user can mention regs explicitly in 'asm'
Geoffrey> statements, too.  This causes problems on rs6000, where there are
Geoffrey> no small register classes mentioned in the RTL, but users can write
Geoffrey> things like

Geoffrey> asm ("" : : : "cr0");

Geoffrey> and get 'forbidden register spilled' if a pseudo (in this case, most
Geoffrey> likely derived from a "CC" in the RTL) needs a register of that class.

	This example can be handled by "x" and "y" register classes,
right?  Or is this only a problem with asm clobbered registers?

David



More information about the Gcc mailing list