This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Using half-precision F16C intrinsics
- From: voxner <voxner dot dev at gmail dot com>
- To: Jeff Epler <jepler at unpythonic dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 26 Jul 2015 22:57:51 +0530
- Subject: Re: Using half-precision F16C intrinsics
- Authentication-results: sourceware.org; auth=none
- References: <CAFrt7DETVrpxUHsoAeQH5afoEsN8BbquP9c+kKPFXcmBr7smAw at mail dot gmail dot com> <20150726151125 dot GA58373 at unpythonic dot net>
Thanks, but I had to recompile gcc for the F16C intrinsic support.
After that for compiling the programs -mf16c does the trick.
Vox
On 26 July 2015 at 20:41, Jeff Epler <jepler@unpythonic.net> wrote:
> It looks like, depending on your compiler you may need to include
> -mf16c, or a -march= that implies -mf16c, in your compiler flags (e.g.,
> -march=haswell).
>
> Jeff