Re: [Linux-ia64] Missing EXPORT_SYMBOL memset

From: David Mosberger <>
Date: 2002-04-13 12:00:32
>>>>> On Sat, 13 Apr 2002 03:38:40 +0200, Andreas Schwab <> said:

  Andreas> There is no way for gcc to see the memset macro when it
  Andreas> generates the call to the memset function.  And there isn't
  Andreas> much lost anyway, since the macro is just there to call
  Andreas> __bzero vs. __memset_generic (aka memset), the difference
  Andreas> is just one parameter more or less.

Just fyi: the reason I split it up is because for ia64 its worthwhile
to special-case the memset-to-zero case (think stf.spill).  That code
isn't there yet, but I wanted to get things set up for it.  Of course,
memset can also check for this case dynamically, but from a logical
perspective, I like it better to make the bzero case explicit (and
save a taken branch in those cases where the compiler macro detects

Received on Fri Apr 12 19:02:12 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:08 EST