Re: gcc 10.2.0 mtocrf instructions on Freescale P1014 (ppc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Renaud,

I reacted too quickly.

- It must have been changed for the 10.x compiler.
- The old code should still be there, but you need a certain argument.
- I think the simplest is to dig in the ./gcc/config/rs6000/ directory,
  have a look at the *.md-files there, analyze the differences between the 9.3.0 and 10.0.x version
  of these files, and from there find out what flags you need.

Best Regards,

Henri.


On 4/8/21 12:17 PM, Barbier, Renaud wrote:
Thanks Henri.

Just found out that if I remove the argument -mcpu=8540 from the arch/powerpc/Makefile then the mtcrf instructions is used instead and the system boots.
I will have to dig in the compiler to see what the consequence of this and if this is a possible solution.






[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux