Dear All:
I'm porting MAD to TOSHIBA TX3911, but it seems my cross compiler mipsel-linux-gcc can't compile the asm instruction "madd" that surpported by TX3911 hardware.
I wand if anybody can tell me eithe I should change compiler or I shoud change compiler's parameter and how.
Thanks in advance.
李大冀
Email: davidlee@gv.com.tw
On Tuesday, March 5, 2002, at 03:17 AM, davidlee wrote:
Dear All: I'm porting MAD to TOSHIBA TX3911, but it seems my cross compiler mipsel-linux-gcc can't compile the asm instruction "madd" that surpported by TX3911 hardware. I wand if anybody can tell me eithe I should change compiler or I shoud change compiler's parameter and how.
Add the following flag to gcc:
mipsel-linux-gcc -Wa,-mcpu=3900
This tells the assembler that you have a TX39 instead of just a MIPS I cpu.
Jay
I get a new mipsel-linux-gcc and change parameter just as Jay said, and it can compile now. Thank you.
----- Original Message ----- From: "Jay Carlson" nop@nop.com To: "davidlee" davidlee@gv.com.tw Cc: "Jay Carlson" nop@nop.com; mad-dev@lists.mars.org Sent: Tuesday, March 05, 2002 9:50 PM Subject: Re: [mad-dev] Porting on TOSHIBA TX3911
On Tuesday, March 5, 2002, at 03:17 AM, davidlee wrote:
Dear All:
I'm porting MAD to TOSHIBA TX3911, but it seems my cross compiler mipsel-linux-gcc can't compile the asm instruction "madd" that surpported by TX3911 hardware.
I wand if anybody can tell me eithe I should change compiler or I shoud change compiler's parameter and how.
Add the following flag to gcc:
mipsel-linux-gcc -Wa,-mcpu=3900
This tells the assembler that you have a TX39 instead of just a MIPS I cpu.
Jay