diff options
| author | David Mertens <dcmertens.perl@gmail.com> | 2017-01-06 16:56:19 -0500 |
|---|---|---|
| committer | David Mertens <dcmertens.perl@gmail.com> | 2017-01-06 16:56:23 -0500 |
| commit | 5d1bc3fbd4d65af960992fb48ed76990ec673239 (patch) | |
| tree | b4caa34c7ce97829752b8e106ca188762da447f8 /tests/tests2/17_enum.expect | |
| parent | 0486939291bfe4406f688ffc8a62b4da2c7a95cf (diff) | |
| download | tinycc-5d1bc3fbd4d65af960992fb48ed76990ec673239.tar.gz tinycc-5d1bc3fbd4d65af960992fb48ed76990ec673239.tar.bz2 | |
Architecture-specific section alignment
Tests found excessive cache thrashing on x86-64 architectures. The
problem was traced to the alignment of sections. This patch sets up
an architecture-specific alignment of 512 bytes for x86-64 and 16
bytes for all others. It uses preprocessor directives that, hopefully,
make it easy to tweak for other architectures.
Diffstat (limited to 'tests/tests2/17_enum.expect')
0 files changed, 0 insertions, 0 deletions
