On Thu, Apr 26, 2012 at 10:08 PM, Sriraman Tallam <tmsri...@google.com> wrote: > Hi, > > I have made the following changes in this new patch which is attached: > > * Use target attribute itself to create function versions. > * Handle any number of ISA names and arch= args to target attribute, > generating the right dispatchers. > * Integrate with the CPU runtime detection checked in this week. > * Overload resolution: If the caller's target matches any of the > version function's target, then a direct call to the version is > generated, no need to go through the dispatching. > > Patch also available for review here: > http://codereview.appspot.com/5752064 >
Does it work with int foo (); int foo () __attribute__ ((targetv("arch=corei7"))); int (*foo_p) () = foo? Does it support C++? Thanks. -- H.J.