cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vimalk
Visitor
Visitor
715 Views
Registered: ‎09-21-2015

Issue after porting project from sdk 2015.4 to sdk 2017.2

Jump to solution

Hi,

I am porting a project from sdk 2015.4 to sdk 2017.2.

In this project, i amusing NEON coprocessor to compute complex fft(cfft). After porting i am getting an error saying

"selected processor does not support `vpush {d8-d15}' in Thumb mode" in the NE10_cfft.neon.s assembly file.

But this error is not there in sdk 2015.4. Any idea why its occuring.

Thanks,

Vimal

0 Kudos
Reply
1 Solution

Accepted Solutions
ibaie
Xilinx Employee
Xilinx Employee
611 Views
Registered: ‎10-06-2016

Hi @vimalk ,

Thanks for the files, a small testcase code was enought but sharing the whole workspace also works :)

So the issue is that you are not setting the NEON coprocessor as FP unit and relaying on the default configuration. As per my previous message the toolchain used in 2015.4 and 2017.2 are different, and althought the first one has NEON as default it is not the case for the second one.

see mfpu option on GCC options.

At the end of the day you just need to add the "-mfpu=neon" flag in your assembler configuration (as is the only one with NEON instructions).

image.png

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.

View solution in original post

4 Replies
ibaie
Xilinx Employee
Xilinx Employee
632 Views
Registered: ‎10-06-2016

Hi @vimalk 

If not wrong the toolchain used in 2015.4 was CodeSourcery built GCC (arm-xilinx-....) while in 2017.2 is Linaro built GCC (arm-none-..) so definitively the toolchain difference might have impact. Saying that would be useful if you could share a small testcase to reprocue the issue, ideally a small code testcase that gets the same error message.

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.
0 Kudos
Reply
vimalk
Visitor
Visitor
625 Views
Registered: ‎09-21-2015

Hi @ibaie 

I have uploaded the sdk workspace.

 

Thanks,

Vimal

0 Kudos
Reply
ibaie
Xilinx Employee
Xilinx Employee
612 Views
Registered: ‎10-06-2016

Hi @vimalk ,

Thanks for the files, a small testcase code was enought but sharing the whole workspace also works :)

So the issue is that you are not setting the NEON coprocessor as FP unit and relaying on the default configuration. As per my previous message the toolchain used in 2015.4 and 2017.2 are different, and althought the first one has NEON as default it is not the case for the second one.

see mfpu option on GCC options.

At the end of the day you just need to add the "-mfpu=neon" flag in your assembler configuration (as is the only one with NEON instructions).

image.png

Regards


Ibai
Don’t forget to reply, kudo, and accept as solution.

View solution in original post

vimalk
Visitor
Visitor
603 Views
Registered: ‎09-21-2015

Hi @ibaie ,

 

Thank you so much for your time. It works perfectly:)

 

Regards,

Vimal

0 Kudos
Reply