This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r157050 - in /branches/milepost-20100130-branch...


Author: amylaar
Date: Wed Feb 24 16:47:57 2010
New Revision: 157050

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157050
Log:
        * tree-parloops.c (create_loads_and_stores_for_name): Avoid arithmetic
        in assignment to memory.

        * config/rs6000/rs6000-modes.def (CC_BLK): New mode.
        * config/rs6000/rs6000-builtin.def (SPU_BUILTIN_DMA_IN_SI): New.
        (SPU_BUILTIN_DMA_IN_DI, SPU_BUILTIN_DMA_OUT_SI): Likewise.
        (SPU_BUILTIN_DMA_OUT_DI, SPU_BUILTIN_CALL): Likewise.
        * config/rs6000/rs6000.c (ppc_copy_to_target): New function.
        (ppc_copy_from_target, ppc_build_call_on_target): Likewise.
        (rs6000_reg_names, alt_reg_names): Add name spu_mem.
        (TARGET_COPY_TO_TARGET): Use ppc_copy_to_target.
        (TARGET_COPY_FROM_TARGET): Use ppc_copy_from_target.
        (TARGET_BUILD_CALL_ON_TARGET): Use ppc_build_call_on_target.
        (bdesc_3arg): Add entries for SPU_BUILTIN_DMA_IN_SI,
        SPU_BUILTIN_DMA_IN_DI, SPU_BUILTIN_DMA_OUT_SI, SPU_BUILTIN_DMA_OUT_DI
        and SPU_BUILTIN_CALL.
        (rs6000_init_builtins): Initialize builtin_mode_to_type[VOIDmode][0].
        Also call rs6000_common_init_builtins in NUM_TARGETS > 1 case.
        (builtin_function_type): Add special case for SPU_BUILTIN_CALL.
        (rs6000_common_init_builtins): When testing mask flags, allow
        negative constants to designate flags that have to be cleared.
        (arc_alloc_task_on_target): Change mxp test to spu.
        Comment out mxp attribute settings.  Fix types in generated code.
        * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTER): Change to 115.
        (FIXED_REGISTERS, CALL_USED_REGISTERS): Add APU_MEM entry.
        (CALL_REALLY_USED_REGISTERS, rs6000_reg_names): Likewise.
        * config/rs6000/rs6000.md (SPU_MEM, UNSPEC_PPE_SPU_DMA): New constants.
        (spu_dma_in_<mode>, spu_dma_out_<mode>, spu_call): New patterns.

Modified:
    branches/milepost-20100130-branch/gcc/ChangeLog.multi-target
    branches/milepost-20100130-branch/gcc/config/rs6000/rs6000-builtin.def
    branches/milepost-20100130-branch/gcc/config/rs6000/rs6000-modes.def
    branches/milepost-20100130-branch/gcc/config/rs6000/rs6000.c
    branches/milepost-20100130-branch/gcc/config/rs6000/rs6000.h
    branches/milepost-20100130-branch/gcc/config/rs6000/rs6000.md
    branches/milepost-20100130-branch/gcc/tree-parloops.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]