This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/2] HSA: support alignment for hsa_symbols (PR hsa/70391)
- From: marxin <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mjambor at suse dot cz
- Date: Thu, 31 Mar 2016 12:43:55 +0200
- Subject: [PATCH 0/2] HSA: support alignment for hsa_symbols (PR hsa/70391)
- Authentication-results: sourceware.org; auth=none
- Resent-user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
Hello.
Following small series implements missing support for alignment
of HSA symbols. So far we were very optimistic about the alignment.
The first patch adds tracking of alignment of HSA symbols and
takes minimum every time we do generation of memory copy instruction.
The second part handles string operations (memcpy, memset, ...), where
we add a CFG that distinguishes between aligned and not aligned
operands.
Patch can bootstrap on x86_64-linux-gnu w/o any regression.
Thanks,
Martin
marxin (2):
HSA: support alignment for hsa_symbols (PR hsa/70391)
HSA: handle alignment of string builtins (PR hsa/70391)
gcc/hsa-brig.c | 5 +-
gcc/hsa-dump.c | 13 +-
gcc/hsa-gen.c | 456 ++++++++++++++++++++++++++++++++++++++---------------
gcc/hsa-regalloc.c | 1 +
gcc/hsa.c | 20 +++
gcc/hsa.h | 17 +-
6 files changed, 372 insertions(+), 140 deletions(-)
--
2.7.1