This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: Question about the current matmul code


On Sun, Apr 02, 2006 at 12:48:38PM +0200, FX Coudert wrote:

Hi FX,

> Shouldn't the (rystride == ycount) condition really be (rystride == 
> xcount)?

Yes, it should.  Good catch!

Question:  Do people think the (probably small) advantage in speed is
worth the extra complexity of the memset() call?

> PS: OK, I said one question, but here's another anyhow: couldn't (and 
> shouldn't) the size0((array_t *) retarray)) call be replaced by (xcount 
> * ycount)?

Yes, you could do that, too.

	Thomas


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