Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 14:26:40 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Adrian Chadd <adrian@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: how long to keep support for gcc on x86?
Message-ID:  <CAGE5yCpB8dHLn0TaW=r0Ov39owOQVi=X5FFw%2BuQ=qZ9zYi5anA@mail.gmail.com>
In-Reply-To: <20130113202952.GO1410@funkthat.com>
References:  <20130112233147.GK1410@funkthat.com> <20130113014242.GA61609@troutmask.apl.washington.edu> <CAJ-VmomrSFXcZg%2BKj6C2ARhpmjB9hxZATYJyRZB7-eRrcBLprg@mail.gmail.com> <20130113053725.GL1410@funkthat.com> <CAJ-VmomGKayr-1VucfwgodhXEHrXxx8r=9crHZJf74iVKZyTmQ@mail.gmail.com> <20130113202952.GO1410@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 13, 2013 at 12:29 PM, John-Mark Gurney <jmg@funkthat.com> wrote:
> Adrian Chadd wrote this message on Sat, Jan 12, 2013 at 23:44 -0800:
>>
>> People are still ironing out kinks/differences with clang. Anyone
>> saying otherwise is likely pushing an agenda. :-)
>>
>> Thus I think adding clang-only code to the system right now is very,
>> very premature. There still seem to be reasons to run systems on GCC
>> instead of clang.
>>
>> If you have a need for new instruction support, perhaps look at adding
>> it to our base GCC for the time being?
>
> I did look at it briefly, but I don't know gcc's internals, and it would
> take me 5+ hours to do it, while someone who does know gcc would take
> abount a half an hour (just a guess)...  I don't have the free time I
> used to, otherwise I would of done it by now..

It seems to me that since clang is the default compiler for the
platforms that have AES-NI that the following could be done:

* get the inline AES-NI stuff in and debugged and solid.
* .. without breaking the existing gcc-compatible code
* once the support is solid, decide what the appropriate thing to do for gcc is.

.. so long as the existing code doesn't get broken.

Trying to do backwards compatibility port to gcc with a moving target
has potential to be a work multiplier.

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV
bitcoin:188ZjyYLFJiEheQZw4UtU27e2FMLmuRBUE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCpB8dHLn0TaW=r0Ov39owOQVi=X5FFw%2BuQ=qZ9zYi5anA>