Visual C++ style inline asms

Graham Stott graham.stott@btinternet.com
Wed Jun 15 14:35:00 GMT 2005


--- Richard Henderson <rth@redhat.com> wrote:

> On Tue, Jun 14, 2005 at 09:26:11PM -0400, Andrew Pinski wrote:
> > On Jun 14, 2005, at 9:25 PM, Mike Stump wrote:
> > >Any objections to adding Visual C++ style inline asms?
> > 
> > Didn't RTH objected the last time?
> 
> One has to do a less gross job of it than Red Hat did.  I suppose
> I could be prodded into pulling out the code so that you can see
> where the bar is.

It was a nightmare to get the large test apps working, they had inline asms
that spaned several pages of A4 with emmbeded labels, control flow, and
other cruff which was why it ended up being so gross.

Also when combined with C++ Templates even the upfront parsing of the
asm gets hairy very quickly.

Graham



More information about the Gcc mailing list