This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Use BMI2 intrisic without enabling the BMI2 target for the whole translation unit
- From: Marc Glisse <marc dot glisse at inria dot fr>
- To: Ruben Laguna <ruben dot laguna at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 27 Aug 2015 10:32:08 +0200 (CEST)
- Subject: Re: Use BMI2 intrisic without enabling the BMI2 target for the whole translation unit
- Authentication-results: sourceware.org; auth=none
- References: <CAFOAOWJ2cBN9W2-=nfaZ8LL_xEyxT6CFbfLRagQ1A8uCMeBAqg at mail dot gmail dot com>
- Reply-to: gcc-help at gcc dot gnu dot org
On Thu, 27 Aug 2015, Ruben Laguna wrote:
In order for the _bzhi_u32 intrinsic to be defined when including
`x86intrinc.h` I need to compile with `-mbmi2`
Try again with a more recent version of gcc?
--
Marc Glisse