This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, libgo] Avoid compiling runtime/aeshash.c with older assemblers [PR go/78789]
- From: Ian Lance Taylor <iant at golang dot org>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Tue, 3 Jan 2017 12:42:07 -0800
- Subject: Re: [PATCH, libgo] Avoid compiling runtime/aeshash.c with older assemblers [PR go/78789]
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4YOytK+kuv-3Ftd3_+33efRaQev6QQvHsE1JiTCGC5kXg@mail.gmail.com>
On Tue, Jan 3, 2017 at 10:37 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>
> Attached patch detect support for AES instructions and avoids
> compiling runtime/aeshash.c with older assemblers (on e.g. CentOS
> 5.11). The result of configure is also communicated into go runtime,
> so the library doesn't try to call non-existent aeshashbody routine.
>
> Patch was tested on x86_64-linux-gnu, on Fedora 25 with AES capable
> CPU and on CentOS 5.11 with non-AES capable CPU.
Thanks. Committed.
Ian