This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: basic asm and memory clobbers - Proposed solution
- From: David Brown <david at westcontrol dot com>
- To: Andrew Haley <aph at redhat dot com>, David Wohlferd <dw at LimeGreenSocks dot com>, Joseph Myers <joseph at codesourcery dot com>
- Cc: Jeff Law <law at redhat dot com>, <rth at redhat dot com>, Richard Earnshaw <Richard dot Earnshaw at foss dot arm dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, <Paul_Koning at Dell dot com>, <jakub at redhat dot com>, <rth at gcc dot gnu dot org>, <pinskia at gcc dot gnu dot org>, Segher Boessenkool <segher at kernel dot crashing dot org>, Ian Lance Taylor <iant at google dot com>, Sandra Loosemore <sandra at codesourcery dot com>, Hans-Peter Nilsson <hp at bitrange dot com>, <bernd dot edlinger at hotmail dot de>
- Date: Thu, 17 Dec 2015 14:11:37 +0100
- Subject: Re: basic asm and memory clobbers - Proposed solution
- Authentication-results: sourceware.org; auth=none
- References: <56552209 dot 1020306 at LimeGreenSocks dot com> <56592801 dot 9010606 at LimeGreenSocks dot com> <565DC5F4 dot 6080804 at foss dot arm dot com> <565E1E37 dot 9080609 at LimeGreenSocks dot com> <alpine dot DEB dot 2 dot 10 dot 1512012323160 dot 12604 at digraph dot polyomino dot org dot uk> <565E6862 dot 7070401 at redhat dot com> <566B4BA1 dot 8000509 at LimeGreenSocks dot com> <566BEE35 dot 6070804 at redhat dot com> <566D0CE6 dot 6090905 at LimeGreenSocks dot com> <566E9191 dot 9030106 at redhat dot com> <567092B9 dot 6020703 at LimeGreenSocks dot com> <alpine dot DEB dot 2 dot 10 dot 1512152238290 dot 10678 at digraph dot polyomino dot org dot uk> <567212B0 dot 3060402 at LimeGreenSocks dot com> <567290E5 dot 4020400 at redhat dot com>
On 17/12/15 11:39, Andrew Haley wrote:
> On 17/12/15 01:41, David Wohlferd wrote:
>> On the contrary, I would be surprised to learn that there are ANY
>> compilers (other than clang) that support gcc's extended asm format.
>
> Prepare to be surprised: Sun Studio compilers seem to support it
> just fine.
>
As does CodeWarrior, Freescale's compiler for microcontrollers (I have
used it for Coldfire, PPC and ARM). I can't guarantee that it supports
/all/ the features of gcc's extended asm, but it supports it roughly.