krfkeith / sx-gcc

Automatically exported from code.google.com/p/sx-gcc
0 stars 0 forks source link

arg and frame pointer elimination not implemented #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
currently, we do not allow elimination of frame and arg pointer.

allowing it is probably trivial: need to check and possibly fix
ELIMINABLE_REGS, FRAME_POINTER_REQUIRED, CAN_ELIMINATE, and
INITIAL_ELIMINATION_OFFSET.

there is a question whether eliminating arg and frame pointer could break
calling into code compiled by native compiler. calls must use and set $s34
in any case if we want to be able to call into native code. $s3 can
probably be safely eliminated in gcc-generated code.

Original issue reported on code.google.com by jmoc...@gmail.com on 18 Feb 2009 at 10:45

GoogleCodeExporter commented 9 years ago

Original comment by jmoc...@gmail.com on 9 Oct 2009 at 9:31