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: Committed: Fix xstormy16 FFS problems


Hi Richard,

   array.  This means that this array does not need to be included in
   any xstormy16 executables, which is a good thing as space is at a
   premium with this port.

Why did you create the __stormy16_count_leading_zeros function instead of simply calling __clzhi2? Seems like you're adding a function unnecessarily there.

Err, no good reason really. I was just following the way other targets had their own count_leading_zeros macro definitions in longlong.h and so I did the same. But you are right, using __clzhi2 would save a function call. I submit a patch next week.


Cheers
  Nick



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