Mordred
March 7th, 2006, 12:21 PM
Hi,
I'm running linux (not Ubuntu) on a Xilinx FPGA (ML403 board).
This board has a PowerPC processor.
I have a crosscompiler to compile my programs. It worked fine
for compiling my kernel but now I need to compile a program
that makes use of special assembler instructions.
By special I mean that they are not in the standard ppc instruction
set.
gcc complains about that:
#Error: unrecognized opcode: 'ldfcmx'
ldfcmx is the custom ppc instruction.
The processor knows how to handle that instruction. I just need to
make the compiler to ignore the fact that he doesn't know that
instruction.
Is there someone who can help me?
Pieter
I'm running linux (not Ubuntu) on a Xilinx FPGA (ML403 board).
This board has a PowerPC processor.
I have a crosscompiler to compile my programs. It worked fine
for compiling my kernel but now I need to compile a program
that makes use of special assembler instructions.
By special I mean that they are not in the standard ppc instruction
set.
gcc complains about that:
#Error: unrecognized opcode: 'ldfcmx'
ldfcmx is the custom ppc instruction.
The processor knows how to handle that instruction. I just need to
make the compiler to ignore the fact that he doesn't know that
instruction.
Is there someone who can help me?
Pieter