This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, i386] Optionally use %xmm0 to return float and/or doublevalues (take 3)


+  if (func && SSE_FLOAT_MODE_P (mode) && TARGET_SSE_MATH)
+    {
+      struct cgraph_local_info *i = cgraph_local_info (func);
+      if (k && i && i->local)


k is not defined here.  If I s/k && //, I get these numbers with
povray 3.6.1 benchmark:

Oops... in my tests k was a global initialized to getenv("SSE_RETURN") to avoid installing multiple cc1's. I thought I had removed all traces of it.


But I'm happy that you can reproduce my results; and I agree that at -O2 (more precisely without -finline-functions) the result ought to be better.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]