http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49363

--- Comment #19 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 
2012-05-10 16:51:33 UTC ---
On 10 May, 2012, at 6:48 PM, tmsriram at google dot com wrote:

>> As you notice the source code is identical as I'm exploiting compiler
>> autovectorization here.
>> In this case I was hoping that a single declaration such as  __attribute__
>> ((target("arch=corei7,avx")))
>> or  __attribute__ ((target("arch=corei7),target("avx"))) would generate the 
>> two
>> versions w/o hang to duplicate the source code.
>> Is this possible to support?
> 
> Yes, this is on the list of things to add. The front-end should clone
> the bodies and tag the attributes appropriately.
> 
good.
Let me know when available, I wil test it with even longer code!

v.


> Thanks,
> -Sri,

Reply via email to