laurent <laurent.poche@xxxxxxxxx> writes: > Now I have to upgrade GCC version (to get new optimisations), but the > "-mflat" option is no more supported in newer GCC options. Yes, as described in http://gcc.gnu.org/ml/gcc/2005-03/msg01003.html . > Is there a way to get "-mflat" option on new GCC version? > If the answer is "no", is there a trick to never allocate some registers > when we use the register window model? My scope would be to remove all > %l3 to %l7 registers for instance in order to save silicon area. You can use the -ffixed-REG option to direct gcc to avoid certain registers. Ian