#14 Support for ARMv8 (cortex-A50 family).

Next Release
closed-fixed
None
3
2013-09-28
2013-08-26
Iulia Vasii
No

It would be nice to have support for -mcpu=cortex-a50.
Until this is solved, is there a way to add a new processor to the existing Settings >> Target Processor list using a separate plugin? Thanks!

Discussion

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • I planned an update of the plug-in in a couple of weeks.

     
  • Iulia Vasii
    Iulia Vasii
    2013-09-02

    If there are preliminary versions, please let me know.

     
  • I updated the list of supported MCUs based on the preliminary gcc 4.8.2 version I have, and there is no cortex-a50, but there is an cortex-a53.

    Is this ok for you?

    I know the a50 to be a family, with a53 and a57 as members; I do not know why the GCC folks decided on a53 only, but I guess it covers the entire a50 family.

    The preview is available at http://gnuarmeclipse.sourceforge.net/updates-test

    Liviu

     
    • Iulia Vasii
      Iulia Vasii
      2013-09-18

      Thank you!

      I'm not sure if you are looking in the right place, the AArch64 options mention about 'generic' and 'large' for mcpu, see
      http://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options

      Iulia

       
      • oops! I did not check the manual, I thought it is using the same options as the other ARMs.

        In this case it looks like we have to do a separate configuration for it.

        Liviu

         
        • Iulia Vasii
          Iulia Vasii
          2013-09-18

          The manual explains about -mcpu being a combination of 'cpu' and 'feature':
          -mcpu=cpu{+[no]feature}*, where cpu=generic,large and feature=crc,crypto,fp,simd.
          This may not be very easy to implement.

          Iulia

           
  • the linaro toolchains were added to the plug-in, please check the preview version available at http://gnuarmeclipse.sourceforge.net/updates-test.

    Liviu

     
    • Iulia Vasii
      Iulia Vasii
      2013-09-18

      I installed the preview version and I was able to build a C project using 'ARM Windows GCC (Linaro AArch Bare)' toolchain with these modifications:
      - used -mcpu=generic instead of -mcpu=cortex-a53 (Error: unknown cpu `cortex-a53')
      - disabled Target Processor -> Thumb option (aarch64-none-elf-gcc.exe: error: unrecognized command line option '-mthumb')

      Iulia

       
  • Take two!

    A new version (0.5.5.201309192224), using separate AArch64 target configuration code, distinct from ARM, is available in the test update site. Please note that in order for the update from the test site to work, you need to remove the url of the test site and then add it as new software.

    I would appreciate if you could test the plugin with both AArch64 toolchains, on both windows and linux, since the toolchains are not available for Mac and I could not test a complete build.

     
  • Iulia Vasii
    Iulia Vasii
    2013-09-20

    I tested the plugin on Windows and Ubuntu - bare project for the moment, it works fine. I also like the new configuration you have added. When can this version be released?

    One thing to note, the gcc 4.8 doesn't seem to understand -mcpu=large (unknown value 'large+simd' for -mcpu), but you can't do anything about that - I'll try to investigate it.

    Thanks,
    Iulia

     
    • When can this version be released?

      the plan was to complete everything before the end of next week, but I'm investigating some CDT bugs and I do not know how long it'll take.

      Liviu

       
    • status: open-accepted --> closed-fixed
     
  • fixed in 0.5.5.201309281715