r196617 - in /branches/cilkplus/gcc: ChangeLog....
bviyer@gcc.gnu.org
bviyer@gcc.gnu.org
Tue Mar 12 17:37:00 GMT 2013
Author: bviyer
Date: Tue Mar 12 17:37:24 2013
New Revision: 196617
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196617
Log:
Added a cilkscreen/low-cost annotations support target flag.
+++ gcc/ChangeLog.cilkplus (working copy)
+2013-03-12 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * builtins.c (expand_builtin): Added a check if cilkscreen is available
+ for the target.
+ * config/i386/i386.c (ix86_have_cilkscreen_support): New function.
+ Also, assigned this function to the following #define:
+ TARGET_CILKPLUS_BUILTIN_HAVE_CILKSCREEN_SUPPORT.
+ * target.def (builtin_have_cilkscreen_support): New target hook.
+ * targhooks.c (default_have_cilkscreen_support): New function.
+ (default_builtin_map_proc_to_attr): Likewise.
+ (default_builtin_find_proc_code): Likewise.
+ (default_builtin_find_isa_code): Likewise.
+ (default_builtin_find_vlength_for_proc): Make return type as unsigned.
+ * doc/tm.texi (Addressing Modes): Added documentation for new target
+ hook TARGET_CILKPLUS_BUILTIN_HAVE_CILKSCREEN_SUPPORT.
+ * doc/tm.texi.in (Addressing Modes): Likewise.
+
Modified:
branches/cilkplus/gcc/ChangeLog.cilkplus
branches/cilkplus/gcc/builtins.c
branches/cilkplus/gcc/config/i386/i386.c
branches/cilkplus/gcc/doc/tm.texi
branches/cilkplus/gcc/doc/tm.texi.in
branches/cilkplus/gcc/target.def
branches/cilkplus/gcc/targhooks.c
branches/cilkplus/gcc/targhooks.h
More information about the Gcc-cvs
mailing list