Call for help: altivec-enabled vlc

Michel Lanners mlan at cpu.lu
Tue Aug 28 08:49:50 EST 2001


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 at cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list