Claudiu Zissulescu
c69899f097
[ARC] Add and refurbish the builtins related functions.
gcc/ 2015-12-21 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/builtins.def: New file. * config/arc/arc.c (arc_init_simd_builtins): Remove. (arc_builtins): Likewise. (TARGET_BUILTIN_DECL): Define. (arc_builtin_id): New enum. (arc_builtin_description): New structure. (arc_bdesc): New variable. (arc_tolower): New function. (def_mbuiltin): Remove. (arc_builtin_decl): New function. (arc_expand_builtin_aligned ): Likewise. (apply_GEN_FCN): Likewise. (arc_init_builtins): Refurbish. (arc_expand_builtin): Likewise. (simd_insn_args_type): Remove. (builtin_description): Likewise (arc_simd_builtin_desc_list): Likewise. (arc_expand_simd_builtin): Likewise. (arc_process_double_reg_moves): Use the new builtin name format. * config/arc/arc.md (unspec): New builtin function UNSPEC codes. (vunspec): New builtin function VUNSPEC codes. (UNSPEC_SWAP, UNSPEC_MUL64, UNSPEC_MULU64, UNSPEC_DIVAW) (UNSPEC_DIRECT, UNSPEC_LP, UNSPEC_CASESI, VUNSPEC_RTIE) (VUNSPEC_SYNC, VUNSPEC_BRK, VUNSPEC_FLAG, VUNSPEC_SLEEP) (VUNSPEC_SWI, VUNSPEC_CORE_READ, VUNSPEC_CORE_WRITE, VUNSPEC_LR) (VUNSPEC_SR, VUNSPEC_TRAP_S, VUNSPEC_UNIMP_S, VUNSPEC_NOP) (UNSPEC_ARC_MEMBAR,VUNSPEC_ARC_CAS, VUNSPEC_ARC_LL) (VUNSPEC_ARC_SC, VUNSPEC_ARC_EX, VUNSPEC_DEXCL) (VUNSPEC_DEXCL_NORES, VUNSPEC_LR_HIGH): Remove. (mul64, mulu64): Remove patterns. (store_direct, *movdf_insn_nolrsr, casesi, casesi_load) (casesi_compact_jump, nopv, swap, divaw, flag, brk, rtie, sync) (swi, sleep, core_read, core_write, lr, sr, trap_s, unimp_s) (doloop_begin_i): Use new builtin function code naming. (kflag, clri, ffs, ffs_f, ffssi2, fls, seti): New patterns. * config/arc/builtins.def: New file. * config/arc/fpx.md: Use new builtin function code naming. * config/arc/simdext.md: New SIMD builtin function UNSPEC codes. Use them in the SIMD patterns. gcc/testsuite 2015-12-21 Claudiu Zissulescu <claziss@synopsys.com> * gcc.target/arc/builtin_general.c: New test. * gcc.target/arc/builtin_simd.c: Likewise. * gcc.target/arc/builtin_special.c: Likewise. From-SVN: r231874
re PR ada/50048 ("cc1: note: obsolete option -I- used, please use -iquote instead" during bootstrap)
…
…
…
…
…
…
…
…
…
…
This directory contains the GNU Compiler Collection (GCC). The GNU Compiler Collection is free software. See the files whose names start with COPYING for copying permission. The manuals, and some of the runtime libraries, are under different terms; see the individual source files for details. The directory INSTALL contains copies of the installation information as HTML and plain text. The source of this information is gcc/doc/install.texi. The installation information includes details of what is included in the GCC sources and what files GCC installs. See the file gcc/doc/gcc.texi (together with other files that it includes) for usage and porting information. An online readable version of the manual is in the files gcc/doc/gcc.info*. See http://gcc.gnu.org/bugs/ for how to report bugs usefully. Copyright years on GCC source files may be listed using range notation, e.g., 1987-2012, indicating that every year in the range, inclusive, is a copyrightable year that could otherwise be listed individually.
Description
Languages
C
48%
Ada
18.3%
C++
14.1%
Go
7%
GCC Machine Description
4.6%
Other
7.7%