diff options
author | Bob Duff <duff@adacore.com> | 2019-09-18 08:32:51 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-18 08:32:51 +0000 |
commit | 0af16535246ef8a9a814da6a3ae7a5bcae89dc30 (patch) | |
tree | 6ac47113e2f600748107d7998842aa37d6447279 /gcc/tree-parloops.c | |
parent | a6d677c65b999fd44446592cde9282b65772095a (diff) | |
download | gcc-0af16535246ef8a9a814da6a3ae7a5bcae89dc30.zip gcc-0af16535246ef8a9a814da6a3ae7a5bcae89dc30.tar.gz gcc-0af16535246ef8a9a814da6a3ae7a5bcae89dc30.tar.bz2 |
[Ada] Improve efficiency of copying bit-packed slices
This patch substantially improves the efficiency of copying large slices
of bit-packed arrays, by copying 32 bits at a time instead of 1 at a
time.
2019-09-18 Bob Duff <duff@adacore.com>
gcc/ada/
* exp_ch5.adb (Expand_Assign_Array_Loop_Or_Bitfield): The call
to Copy_Bitfield is now enabled.
(Expand_Assign_Array_Bitfield): Multiply 'Length times
'Component_Size "by hand" instead of using 'Size.
From-SVN: r275855
Diffstat (limited to 'gcc/tree-parloops.c')
0 files changed, 0 insertions, 0 deletions