From owner-freebsd-current@FreeBSD.ORG Fri Aug 23 09:58:55 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B083F578 for ; Fri, 23 Aug 2013 09:58:55 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5FF492AAB for ; Fri, 23 Aug 2013 09:58:55 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id wc20so468266obb.28 for ; Fri, 23 Aug 2013 02:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=XEgJvnNR1IUQmRZhgrqYaA0FXiEyMvuqwnQGIDFw/q8=; b=f/CO8BWVUDy/7jH+vXg60uldMJwbvJqLGChFiPRW3mqHGe4BND8ZrcNleuOV0cN54T tUVUviF5fQXI91R0oZD1u40/FE/qT2GycTl5Ut6wylq4PcI7MnxtZGhpB8qKihBRa2fe 1QUHDovWEBC6f6z6gXQDpWsFIVOi7PnpVQiC4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XEgJvnNR1IUQmRZhgrqYaA0FXiEyMvuqwnQGIDFw/q8=; b=PWIPx//QPf56adIWOgRQs4cer319I037yc5OuBfZqt1PqZ2bQ6UFBD0LKPZMMFGnUp 6eK8kyD6F49511iAQBgH+jr8R1H0MTDFsc4bBVd9c/k+qVA3KelysfACBK6Es9DoThSS 9lNnwX3cex4eLxs+DfTWSZ0eyuZreLQ/5Sqxy3lXfTBBtJYxA+HmdQczGzzgHy0UXDY9 G3d7VMGFTXaKP7AeLTztLqzqsHszQ6aAf0NE/Qo8LotAoXi2L5GqXtzeoQKsnBlcs7lK nxyiSn3fGGXp7qi3n7sXVq3uXd4OFjB0OR65mp2jzFS+kKcdZbcKJxCgJIXCQB/3/I7x Ggpg== X-Gm-Message-State: ALoCoQm2mRTy8J0X/MJGrZbCdjqbP1999Fjaee8emK2g3l705UCWkOINWSLWaSfBQ7/ZakKnfAC9 MIME-Version: 1.0 X-Received: by 10.182.129.233 with SMTP id nz9mr19479518obb.8.1377251934542; Fri, 23 Aug 2013 02:58:54 -0700 (PDT) Sender: decke@bluelife.at Received: by 10.76.81.4 with HTTP; Fri, 23 Aug 2013 02:58:54 -0700 (PDT) X-Originating-IP: [80.123.233.199] In-Reply-To: <105E26EE-8471-49D3-AB57-FBE2779CF8D0@FreeBSD.org> References: <20130822200902.GG94127@funkthat.com> <105E26EE-8471-49D3-AB57-FBE2779CF8D0@FreeBSD.org> Date: Fri, 23 Aug 2013 11:58:54 +0200 X-Google-Sender-Auth: jmT25XPIOmeQOuW9TJDRO5p_DIg Message-ID: Subject: Re: patch to add AES intrinsics to gcc From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: David Chisnall Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: toolchain@freebsd.org, John-Mark Gurney , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Aug 2013 09:58:55 -0000 I don't know if you are aware that IF you really do that we will have serio= us problems to ship packages for 10. USE_GCC=3Dany is the fallback in the portstree for all ports that are unable to build with clang which was intro= duced when HEAD switched to clang as default cc. Right now there are 150 ports in the tree that use this fallback and quite a few of them are high profile po= rts: the highlights: audio/nas devel/mingw32-binutils emulators/qemu emulators/virtualbox-ose emulators/wine lang/go lang/v8 mail/courier math/fftw3 multimedia/libxine multimedia/gstreamer multimedia/gstreamer-plugins multimedia/x264 security/clamav the full list: http://dpaste.com/1354075/ A possible hack could be to add a check for USE_GCC=3Dany to behave like a USE_GCC=3Dyes on HEAD on the affected platforms. This pulls in lang/gcc from ports for a lot of people on HEAD I suppose. We certainly need to do that switch to remove the ancient gcc from base some time but with my portmgr hat on I can only say we don't plan to do tha= t before 10.0 especially not if we are only talking about a few weeks time wi= ndow. --=20 Bernhard Froehlich http://www.bluelife.at/ On Fri, Aug 23, 2013 at 11:16 AM, David Chisnall wro= te: > I have a patch that I intend to commit before the 10.0 code slush that re= moves GCC and libstdc++ from the default build on platforms where clang is = the system compiler. We definitely don't want to be supporting our 6-year-= old versions of these for the lifetime of the 10.x branch. > > David > > On 22 Aug 2013, at 21:09, John-Mark Gurney wrote: > >> In my work to get AES-NI performance in a better state and the fact >> that we haven't deprecated gcc yet, I have developed another patch to >> add the appropriate AES intrinstic headers to gcc. >> >> The patch is available at: >> https://people.freebsd.org/~jmg/gcc.aes.intrin.patch >> >> I did have to change the opth-gen.awk script, since it wouldn't let >> me use bit 31, and recent changes to gcc used up all the remaining >> bits. I also was unable to add the -mpclmul option because of running >> out of these bits. >> >> Thanks. >> >> -- >> John-Mark Gurney Voice: +1 415 225 5579 >> >> "All that I will do, has been done, All that I have, has not." >> _______________________________________________ >> freebsd-toolchain@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain >> To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.= org"