AVX-512. 81.1/n. Extend function_code' field
tree_var_decl' structure.
gcc/ * tree-core.h (tree_var_decl): Extend `function_code' field by one bit, move `regdecl_flag' field to ... (tree_decl_with_vis): Here. * tree.h (DECL_STATIC_CHAIN): Update struct name. From-SVN: r216590
This commit is contained in:
parent
8bbc64707d
commit
c1b7a563e0
@ -1,3 +1,10 @@
|
||||
2014-10-23 Kirill Yukhin <kirill.yukhin@intel.com>
|
||||
|
||||
* tree-core.h (tree_var_decl): Extend `function_code' field
|
||||
by one bit, move `regdecl_flag' field to ...
|
||||
(tree_decl_with_vis): Here.
|
||||
* tree.h (DECL_STATIC_CHAIN): Update struct name.
|
||||
|
||||
2014-10-23 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* Makefile.in (BUILD_CPPLIB): Add.
|
||||
|
@ -1498,7 +1498,9 @@ struct GTY(()) tree_decl_with_vis {
|
||||
unsigned cxx_destructor : 1;
|
||||
/* Belong to FUNCTION_DECL exclusively. */
|
||||
unsigned final : 1;
|
||||
/* 15 unused bits. */
|
||||
/* Belong to FUNCTION_DECL exclusively. */
|
||||
unsigned regdecl_flag : 1;
|
||||
/* 14 unused bits. */
|
||||
};
|
||||
|
||||
struct GTY(()) tree_var_decl {
|
||||
@ -1539,20 +1541,19 @@ struct GTY(()) tree_function_decl {
|
||||
DECL_FUNCTION_CODE. Otherwise unused.
|
||||
??? The bitfield needs to be able to hold all target function
|
||||
codes as well. */
|
||||
ENUM_BITFIELD(built_in_function) function_code : 11;
|
||||
ENUM_BITFIELD(built_in_function) function_code : 12;
|
||||
ENUM_BITFIELD(built_in_class) built_in_class : 2;
|
||||
|
||||
unsigned static_ctor_flag : 1;
|
||||
unsigned static_dtor_flag : 1;
|
||||
unsigned uninlinable : 1;
|
||||
|
||||
unsigned uninlinable : 1;
|
||||
unsigned possibly_inlined : 1;
|
||||
unsigned novops_flag : 1;
|
||||
unsigned returns_twice_flag : 1;
|
||||
unsigned malloc_flag : 1;
|
||||
unsigned operator_new_flag : 1;
|
||||
unsigned declared_inline_flag : 1;
|
||||
unsigned regdecl_flag : 1;
|
||||
unsigned no_inline_warning_flag : 1;
|
||||
|
||||
unsigned no_instrument_function_entry_exit : 1;
|
||||
|
@ -2553,7 +2553,7 @@ extern void decl_fini_priority_insert (tree, priority_type);
|
||||
|
||||
/* In a FUNCTION_DECL indicates that a static chain is needed. */
|
||||
#define DECL_STATIC_CHAIN(NODE) \
|
||||
(FUNCTION_DECL_CHECK (NODE)->function_decl.regdecl_flag)
|
||||
(FUNCTION_DECL_CHECK (NODE)->decl_with_vis.regdecl_flag)
|
||||
|
||||
/* Nonzero for a decl that cgraph has decided should be inlined into
|
||||
at least one call site. It is not meaningful to look at this
|
||||
|
Loading…
Reference in New Issue
Block a user