r134877 - in /branches/named-addr-spaces-branch...

bje@gcc.gnu.org bje@gcc.gnu.org
Fri May 2 02:34:00 GMT 2008


Author: bje
Date: Fri May  2 02:34:40 2008
New Revision: 134877

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134877
Log:
Move more SPU-specific stuff to the backend.  This is not particularly
pretty, but it will be refined further once the middle-end and backend
are properly delineated.

	* targhooks.h (default_addr_space_conversion_rtl): New.
	* targhooks.c (default_addr_space_conversion_rtl): Likewise..
	* target.h (addr_space_conversion_rtl): New target hook.
	* target-def.h (TARGET_ADDR_SPACE_CONVERSION_RTL): New.
	(TARGET_INITIALIZER): Add TARGET_ADDR_SPACE_CONVERSION_RTL.
	* expr.c (expand_expr_real_1): Use addr_space_conversion_rtl
	target hook to emit the insn.
	* config/spu/spu.c (TARGET_ADDR_SPACE_CONVERSION_RTL): Define.
	(spu_addr_space_conversion_rtl): New.

Modified:
    branches/named-addr-spaces-branch/gcc/ChangeLog.named
    branches/named-addr-spaces-branch/gcc/config/spu/spu.c
    branches/named-addr-spaces-branch/gcc/expr.c
    branches/named-addr-spaces-branch/gcc/target-def.h
    branches/named-addr-spaces-branch/gcc/target.h
    branches/named-addr-spaces-branch/gcc/targhooks.c
    branches/named-addr-spaces-branch/gcc/targhooks.h



More information about the Gcc-cvs mailing list