RE: Question about Tree_function_versioning

2012-03-26 Thread Oleg Endo
On Mon, 2012-03-26 at 22:51 +, Iyer, Balaji V wrote: > I have another question along the same lines. Is it possible to tell > gcc to never delete a certain function even if it is never called in > the executable? > "__attribute__ ((used))" maybe? Cheers, Oleg

RE: Question about Tree_function_versioning

2012-03-26 Thread Iyer, Balaji V
: Monday, March 26, 2012 8:52 AM To: Iyer, Balaji V Cc: 'gcc@gcc.gnu.org' Subject: Re: Question about Tree_function_versioning Hi, On Mon, Mar 26, 2012 at 01:34:55AM +, Iyer, Balaji V wrote: > Hello Everyone, > I am currently trying to take certain functions (marked by certain &

Re: Question about Tree_function_versioning

2012-03-26 Thread Martin Jambor
Hi, On Mon, Mar 26, 2012 at 01:34:55AM +, Iyer, Balaji V wrote: > Hello Everyone, > I am currently trying to take certain functions (marked by certain > attributes) and create vector version along with the scalar versions > of the function. For example, let's say I have a function my_add > tha