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 that is

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 attributes) and create

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

Question about Tree_function_versioning

2012-03-25 Thread Iyer, Balaji V
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 that is marked with a certain attribute, I am trying to clone it into