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]

[GOMP4] [PATCH] SIMD-Enabled Functions (formerly Elemental functions) for C


Hello Everyone,	
	Attached, please find a patch that will implement SIMD enabled functions for C targeting the gomp-4_0-branch. Here are the ChangeLog entries. Is this OK to install?

gcc/c/ChangeLog
2013-11-18  Balaji V. Iyer  <balaji.v.iyer@intel.com>

        * c-parser.c (c_parser_declaration_or_fndef): Added a check for
        attribute keyword before the function name.  If so, call the function
        to parse attributes.  Added a NULL parameter for c_parser_attributes.
        (c_parser_declspecs): Added a NULL parameter for c_parser_attributes.
        (c_parser_enum_specifier): Likewise.
        (c_parser_struct_or_union_specifier): Likewise.
        (c_parser_struct_declaration): Likewise.
        (c_parser_direct_declarator): Likewise.
        (c_parser_direct_declarator_inner): Likewise.
        (c_parser_parms_list_declarator): Likewise.
        (c_parser_parameter_declaration): Likewise.
        (c_parser_label): Likewise.
        (c_parser_objc_maybe_method_attributes): Likewise.
        (c_parser_objc_method_decl): Likewise.
        (c_parser_transaction_attributes): Likewise.
        (c_parser_elem_fn_vectorlength): New function.
        (c_parser_elem_fn_expr_list): Likewise.
        (c_finish_elem_fn_tokens): Likewise.
        (c_parser_elem_fn_attributes): Added a elem_fn_tokens parameter.  Added
        a check for vector attribute and if so call c_parser_elem_fn_expr_list.
        Also, called c_finish_elem_fn_tokens when Cilk Plus is enabled.

testsuite/ChangeLog
2013-11-18  Balaji V. Iyer  <balaji.v.iyer@intel.com>

        * c-c++-common/cilk-plus/EF/ef_test.c: New test.
        * c-c++-common/cilk-plus/EF/vlength_errors.c: Likewise.
        * gcc.dg/cilk-plus/cilk-plus.exp: Added calls for the above tests.


Thanks,

Balaji V. Iyer.

Attachment: diff.txt
Description: diff.txt


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