[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] handle e500v[12] cpu names
From: |
Olivier Hainque |
Subject: |
[patch] handle e500v[12] cpu names |
Date: |
Wed, 17 Sep 2014 14:31:59 +0200 |
Hello,
We (AdaCore) appreciate having triplets like e500v2-wrs-vxworks or
e500v2-wrs-linux work out of the box.
The attached patch is something we have been using for a while for this purpose
and we thought others might find it useful as well.
The general idea is to have e500 treated essentially as powerpc except
selecting a default "spe" os extension when appropriate for proper ABI
selection.
On the gcc front, we leverage this further by selecting a default with_cpu,
typically 8540 for e500v1 or 8548 for e500v2 (original patch submission at
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01300.html)
The patch passes the existing tests + the few added cases.
OK to commit ?
Thanks in advance for your feedback,
With Kind Regards,
Olivier
2014-09-17 Olivier Hainque <address@hidden>
* config.sub: Accept e500v[12] cpu names. Canonicalize to
powerpc and add a "spe" suffix to the os name when required
to select the proper ABI.
* testsuite/config-sub.data: Add tests for e500v[12]-elf,
e500v2-wrs-vxworks, e500v2-vxworksae and e500v2-wrs-linux.
e500v2-config-sub.diff
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch] handle e500v[12] cpu names,
Olivier Hainque <=