Kai Tietz writes: >I read that too, but how can I teach gcc to do this that registers are >callee-saved? I tried it by use of call_used part in regclass.c, but >this didn't worked as expected.
I think you need to modify CALL_USED_REGISTERS and/or CONDITIONAL_REGISTER_USAGE in i386.h. Making any changes to regclass.c is probably not the right thing to do. Ross Ridge