From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200108272249.AAA00844@piglet.grunz.lu> Date: Tue, 28 Aug 2001 00:49:50 +0200 (CEST) From: Michel Lanners Reply-To: mlan@cpu.lu Subject: Re: Call for help: altivec-enabled vlc To: k_fukui@highway.ne.jp Cc: linuxppc-dev@lists.linuxppc.org In-Reply-To: <20010827062142.Postino-014504@smtp01.highway.ne.jp> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: On 27 Aug, this message from Kaoru Fukui echoed through cyberspace: >> On 27 Aug, this message from Kaoru Fukui echoed through cyberspace: >> >> I've sat down a bit ;-) and came up with an Altivec-optimised IDCT >> > >> > I don't know much. >> > Altivec-gcc need "-fvec" as gcc option. >> >> It's not altivec-enabled gcc; just plain asm which the assembler knows >> about (if you pass the right option which I'm doing ;-). >> > > But gcc/config/rs6000.h doesn't have vector registor name. > if it's used gas,isn't it inline asm? Yes, it's inline asm. Obviously the assembler knows about Altivec, and the binutils know most opcodes (objdump --disassemble-all lacks knowledge about a few opcodes). But you can't for instance specify the vector registers in the clobber list of inline asm; that part is treated by the compiler. Michel ------------------------------------------------------------------------- Michel Lanners | " Read Philosophy. Study Art. 23, Rue Paul Henkes | Ask Questions. Make Mistakes. L-1710 Luxembourg | email mlan@cpu.lu | http://www.cpu.lu/~mlan | Learn Always. " ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/