Hello,
There are two weeks gone since the end of the patch discussion but no
one has neither objected nor approved it. Please take a look to it and
approve. Also please commit it since I have no write access.
The updated version of the patch was attached to my message
https://gcc.gnu.org/ml/gcc-patches/2019-06/msg01689.html
The updated patch description:
This patch adds new machine specific option -malign-data={xlen,natural}
to RISC-V port. The option switches alignment of global variables and
constants of array/record/union types. The default value
(-malign-data=xlen) keeps existing way of alignment computation. Another
option value (-malign-data=natural) makes data natural alignment. It
avoids extra spaces between data to reduce code size. The measured code
size reduction is about 0.4% at -Os on EEMBC automotive 1.1 tests and
SPEC2006 C/C++ benchmarks. The patch was tested in riscv-gnu-toolchain
by dejagnu. Also I have tested the new option with -mstrict-align and
found no influence on each other.
Best regards,
Ilia.