This is the mail archive of the gcc-patches@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]

[PATCH, alpha]: Hookize some more macros


2015-11-12  Uros Bizjak  <ubizjak@gmail.com>

    * config/alpha/alpha.h (FUNCTION_VALUE, LIBCALL_VALUE,
    FUNCTION_VALUE_REGNO_P): Remove.
    * config/alpha/alpha-protos.h (function_value): Remove.
    * config/alpha/alpha.c (function_value): Rename to...
    (alpha_function_value_1): ... this.  Make static.
    (alpha_function_value, alpha_libcall_value,
    alpha_function_value_regno_p): New functions.
    (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE,
    TARGET_FUNCTION_VALUE_REGNO_P): Define.

2015-11-12  Uros Bizjak  <ubizjak@gmail.com>

    * config/alpha/alpha.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
    * config/alpha/alpha.c (alpha_memory_latency): Make static.
    (alpha_register_move_cost, alpha_memory_move_cost): New functions.
    (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.

Bootstrapped and regression tested on alphaev68-linux-gnu, committed
to mainline SVN.

Uros.

Attachment: a.diff.txt
Description: Text document


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