I see. Please go ahead.
2011/9/5 Ramanarayanan, Ramshankar <ramshankar.ramanaraya...@amd.com>
> Yes, using –msse4a does allow generation of popcnt in Barcelona. But in
> the AMD ISA manual Popcnt is not listed under SSE4a. popcnt is listed as a
> general purpose instruction. It is one of AMD’s Advanced Bit Manipulation
> (ABM) instructions. So –msse4a is not appropriate to enable popcnt,
> technically. In the Intel ISA manual it is listed as a SSE42 instruction.
> Due to these reasons I changed Is_Target_SSE4a to Is_Target_Barcelona but
> retained Is_Target_SSE42. Collectively this will enable popcnt in
> Barcelona/Orochi and Nehalem too. ****
>
> ** **
>
> Ram****
>
> ** **
>
> *From:* Jian-Xin Lai [mailto:laij...@gmail.com]
> *Sent:* Monday, September 05, 2011 1:58 PM
> *To:* Ramanarayanan, Ramshankar
> *Cc:* open64-devel@lists.sourceforge.net
> *Subject:* Re: [Open64-devel] code review request for builtin_popcnt****
>
> ** **
>
> From driver/opt_actions.c, SSE4a is enabled for Barcelona. Could you please
> check if that works for Barcelona. ****
>
> 2011/8/30 Ramanarayanan, Ramshankar <ramshankar.ramanaraya...@amd.com>****
>
> Hi,****
>
> ****
>
> Could a gate keeper please review this change to enable generation of
> popcnt instruction for calls to builtin_popcnt? ****
>
> ****
>
> popcnt is right now generated for call to builtin_popcnt on Barcelona and
> above. I use the following check: Is_Target_SSE42() ||
> Is_Target_Barcelona()****
>
> ****
>
> Is_Target_SSE42 enables it on Orochi. Is_Target_Barcelona enables it on
> Barcelona. ****
>
> ****
>
> Best wishes,****
>
> Ram****
>
> AMD open source compiler engineering, Bangalore****
>
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Open64-devel mailing list
> Open64-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/open64-devel****
>
>
>
>
> --
> Regards,
> Lai Jian-Xin****
>
--
Regards,
Lai Jian-Xin
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel