diff options
author | Richard Henderson <rth@redhat.com> | 2009-11-20 15:51:52 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2009-11-20 15:51:52 -0800 |
commit | fe40daa0c3c7fa6be97fa4b1e2185c78c9f3e09a (patch) | |
tree | 2d75ea9c893310d1f59925e218d85aa20adf29d8 /gcc/tree-ssa-math-opts.c | |
parent | 497d383424c5d3c54d15d7fe6f3c4a2a1db128b4 (diff) | |
download | gcc-fe40daa0c3c7fa6be97fa4b1e2185c78c9f3e09a.zip gcc-fe40daa0c3c7fa6be97fa4b1e2185c78c9f3e09a.tar.gz gcc-fe40daa0c3c7fa6be97fa4b1e2185c78c9f3e09a.tar.bz2 |
i386-builtin-types.awk: New file.
* config/i386/i386-builtin-types.awk: New file.
* config/i386/i386-builtin-types.def: New file.
* config/i386/t-i386: Use them to build i386-builtin-types.inc.
* config/i386/i386.c: Include it.
(ix86_builtin_type_tab, ix86_get_builtin_type): New.
(ix86_builtin_func_type_tab, ix86_get_builtin_func_type): New.
(struct builtin_isa): Remove GTY marker. Replace tree type with
ix86_builtin_func_type; add set_and_not_built_p.
(def_builtin): Change type parameter to tcode; use
ix86_get_builtin_func_type; update all callers. Accept zero mask
to mean the builtin is unconditionally available.
(ix86_add_new_builtins): Use set_and_not_built_p instead of type
being set to NULL.
(enum ix86_special_builtin_type, enum ix86_builtin_type): Remove.
Update some users to rationalized enumeration codes from new include.
(enum multi_arg_type): Remove. Replace all enumeration values
with defines to new ix86_builtin_func_type.
(ix86_init_mmx_sse_builtins): Don't build any types here. Defer
all type resolution to def_builtin.
(ix86_init_builtin_types): Split out from ...
(ix86_init_builtins): ... here. Use ix86_get_builtin_func_type.
From-SVN: r154388
Diffstat (limited to 'gcc/tree-ssa-math-opts.c')
0 files changed, 0 insertions, 0 deletions