compiling assembly codes with gcc for mpc56xx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

compiling assembly codes with gcc for mpc56xx

Jump to solution
2,668 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Solution
1,014 Views
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

View solution in original post

0 Kudos
4 Replies
1,014 Views
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 Kudos
1,015 Views
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 Kudos
1,014 Views
Monica
Senior Contributor III

Thanks much for sharing!

Have a great weekend!

Monica.

0 Kudos
1,014 Views
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 Kudos