[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Altivec matmul kernel (attachment)
I would like to see the assembly as well, I have been trying to adapt my
codegenerator to produce Altivec assembly, but I could never get my inline
assembly macros to work correctly. If I can just look at the generated
assembly I should be able to write the macros in no time. In my
experience, good AltiVec assembly examples for gcc has been rather hard to
find on the net, so I would love a good working example.
On 17 Jul 2001, Camm Maguire wrote:
> Greetings, and thanks for your reply!
> Nicholas Coult <firstname.lastname@example.org> writes:
> > On second thought, I think generating assembly wouldn't solve the
> > problem, since the assembler has to recognize the altivec assembly
> > instructions in order to generate the object code...
> This is true, but I'd wager that an altivec capable binutils is most
> likely already the default for ppc, whereas the patched gcc may never
> be available as an option for the distribution.
> To get the assembler, just do your mmutstcase, look for the line where
> your C file is compiled, copy this, changing -c to -S and -o ... to -o
> I'm looking into the patched gcc. There may be a Debian developer who
> would be willing to package it for the ppc. If this can be done,
> would be far preferable to dealing with the assembly, so you might
> want to hold off until I hear from him.
> Take care,
> > On Tuesday, July 17, 2001, at 03:22 PM, Camm Maguire wrote:
> > >
> > > Greetings! I was just checking out your kernel, and realized that it
> > > requires a compiler which recognizes the altivec extension keywords,
> > > which gcc alas does not. Could you perhaps compile with the -S flag
> > > to generate assembly output files, and post these? gcc can wrap this
> > > code in a C macro. Many Debian PPC users might appreciate your
> > > kernel!
> > >
> > > Take care,
> > > --
> > > Camm Maguire email@example.com
> > > =========================================================================
> > > =
> > > "The earth is but one country, and mankind its citizens." --
> > > Baha'u'llah
> > >
> > --
> > Nicholas Coult, Ph.D., web: http://melby.augsburg.edu/~coult
> > Assistant Professor, Department of Mathematics, Augsburg College
> > firstname.lastname@example.org, phone: (612) 330-1064 office: Science Hall 137B