diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-24 06:37:15 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-12-24 06:37:15 -0500 |
commit | 9de08200107fd96aaece94b7b3db9868d2499b4c (patch) | |
tree | 0e268edb54f8cd9413167b2de093ad8b555a5bce /gcc/gcc.c | |
parent | 45169d1213d6566380b1309a2f1cd96326d38858 (diff) | |
download | gcc-9de08200107fd96aaece94b7b3db9868d2499b4c.zip gcc-9de08200107fd96aaece94b7b3db9868d2499b4c.tar.gz gcc-9de08200107fd96aaece94b7b3db9868d2499b4c.tar.bz2 |
(struct clear_by_pieces): New structure.
(clear_by_pieces{,_1}, {is,mostly}_zeros_p): New functions.
(clrstr_optab): New optab.
(clear_storage): Rework to try to use clear_by_pieces, then
new clrstr insn, then library call.
(store_constructor): Track if target is already cleared.
Clear target first if CONSTRUCTOR is mostly zeros.
Don't write zeros if target has been cleared.
Add new arg to clear_storage call.
(expand_expr, case CONSTRUCTOR): Don't put static constructor
in memory if mostly zero.
From-SVN: r10842
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions