r257223 - in /trunk/gcc: ChangeLog config/arc/a...

claziss@gcc.gnu.org claziss@gcc.gnu.org
Wed Jan 31 10:01:00 GMT 2018


Author: claziss
Date: Wed Jan 31 10:01:48 2018
New Revision: 257223

URL: https://gcc.gnu.org/viewcvs?rev=257223&root=gcc&view=rev
Log:
[ARC] Add 'aux' variable attribute.

The 'aux' variable attribute is used to directly access the auxiliary
register space from C.

gcc/
2018-01-31  Claudiu Zissulescu  <claziss@synopsys.com>

        * config/arc/arc.c (arc_handle_aux_attribute): New function.
        (arc_attribute_table): Add 'aux' attribute.
        (arc_in_small_data_p): Consider aux like variables.
        (arc_is_aux_reg_p): New function.
        (arc_asm_output_aligned_decl_local): Ignore 'aux' like variables.
        (arc_get_aux_arg): New function.
        (prepare_move_operands): Handle aux-register access.
        (arc_handle_aux_attribute): New function.
        * doc/extend.texi (ARC Variable attributes): Add subsection.

testsuite/
2018-01-31  Claudiu Zissulescu  <claziss@synopsys.com>

        * gcc.target/arc/taux-1.c: New test.
        * gcc.target/arc/taux-2.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/arc/taux-1.c
    trunk/gcc/testsuite/gcc.target/arc/taux-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arc/arc.c
    trunk/gcc/doc/extend.texi
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list