compiling assembly codes with gcc for mpc56xx

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

compiling assembly codes with gcc for mpc56xx

跳至解决方案
3,988 次查看
farozeibnejava
Contributor III

hi,

i'm trying to compile n assembly code for mpc5643l using gnu gcc compiler but am getting of unrecognized opcode; note that this error does not come up for all insrtuctions. following is the command im using:

 

 

powerpc-eabi-gcc -O0 -g3 -Wall -c -fmessage-length=0 -fno-common -MMD -MP -MF"main.d" -MT"main.d" -mcpu=common -mfloat-gprs=single -eabi=vle -mspe -misel=yes  -msoft-float -mbig -mabi=spe -o test test003.S

start_PBL.s: Assembler messages:

start_PBL.s:19: Error: Unrecognized opcode: `e_or2is'

 

thnx

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
2,334 次查看
farozeibnejava
Contributor III

Morning,

My problem was of vle instructions support in gcc not freescale compiler. The vle patch is present but gcc has not included in its main stream powerpc compiler toolchain because it was somehow breaking support for some non-vle supporting powerpcs. Vle patch , however, was included in the codebench csgnu gcc version 2013.

Regard,

ibnejava

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,334 次查看
Monica
Senior Contributor III

Hello Faroze,

have you had the chance to work on that?

don't forget about us, please keep us posted :smileywink:

Best,

Monica.

0 项奖励
回复
2,335 次查看
farozeibnejava
Contributor III

Morning,

My problem was of vle instructions support in gcc not freescale compiler. The vle patch is present but gcc has not included in its main stream powerpc compiler toolchain because it was somehow breaking support for some non-vle supporting powerpcs. Vle patch , however, was included in the codebench csgnu gcc version 2013.

Regard,

ibnejava

0 项奖励
回复
2,334 次查看
Monica
Senior Contributor III

Thanks much for sharing!

Have a great weekend!

Monica.

0 项奖励
回复
2,334 次查看
trytohelp
NXP Employee
NXP Employee

Hi,

Sorry for the delay.

Can you please provide me more details about the tool used ?

To do that you must:

  Under CodeWarrior IDE (classic)

      Start the IDE and click on Help | About Freescale CodeWarrior.

      Click on Installed Products 

      Provide us all info displayed.

      Or you can save them in a txt file.

  Under Eclipse IDE

    1-      Start Eclipse and click on Help ¦ Freescale Licenses

      The Status column gives the status of the license.

      Under Product, select it and click on details.

      A new dialog show up giving license details.

      Provide us all info displayed

    2-      Start Eclipse and click on Help ¦ About CodeWarrior Development Studio

      Under Installed Products, you will see the version used.

Can you please share us the source file generating the error ?

Regards

Pascal

0 项奖励
回复