Both Renesas RX and RL78 Toolchains Get Refreshed Today (Release 2019q4)

The most popular Renesas targets, RX and RL78, are receiving a refreshed version of the toolchains today, for the second time this year. The RX release includes a significant upgrade to GCC version 8.3.0, a major step up from the version 4.8.4 used in the previous toolchain release. The additional updates, improvements or issues resolved are documented below.

The release notes for each of these platforms may be found below, covering what changes each of these new toolchain versions bring:

  • GCC for Renesas 4.9.2.201904-GNURL78 (Windows | Linux)
    1. [GCC] [Improvement] Implemented the __builtin_rl78_setpswisp(x) and __builtin_rl78_getpswisp() instructions to get and set the ISP bits of the PSW register.For example:
      char f1(char a)
          {
             __builtin_rl78_setpswisp(a);
             return __builtin_rl78_getpswisp();
          }
  • Known issues
    • ES is used without being initialized.

      Workaround:

      In order to initialize ES, the address should be stored in a far pointer before usage. So instead of:

      ((volatile reg __far*)0x000FFF).bit._1 = 0;

      the code will be:

      volatile reg __far *address0 = 0x000FFF;
      (*address0).bit._1 = 0;

    • The __far keyword is not supported for C++ projects.
  • GCC for Renesas 8.3.0.201904-GNURX (Windows | Linux)
    1. [GCC] [Improvement] The GCC version is updated from 4.8.4 to 8.3.0.
    2. [GCC] [Bug Fix] Fixed a bug related to the usage of an integer greater than 3 in a __builtin_rx_bset_mem instruction.
    3. [GCC] [Improvement] The MVTIPL instruction now throws a warning if a non-immediate value has been passed as argument.
    4. [GCC] [Bug Fix] Fixed the emulu instruction: the upper 32-bits are now used in a 64-bit multiplication when any optimization is enabled.
    5. [GDB] [Bug Fix] Fixed the FPSWBITS_FMASK used by the mvtc instruction to not include the 30’th bit.
    6. [GDB] [Improvement] Improved the precision of the arithmetic instructions when the DFPU flag is used.
    7. [GDB] [Bug Fix] Fixed the simulation result for the MACLOMACHI instructions when rx-elf-run traces are enabled.
  • Known issues
    • For a full list of known issues, please refer to this toolchain’s release notes available here.

The Linux installer for both toolchains also offers command-line flags to automate installation as much as possible, as well as the ability to also act as an uninstaller for the toolchains. Therefore, the installer can both install and uninstall the toolchain from one or more paths from your Linux distribution. The release notes for both toolchains also include the list of the currently known issues presented above, to which we fully commit to adequately handle in the coming updates.

We are deeply grateful for any feedback you may have regarding this release, so please let us know if you have any questions or comments.

4 Responses to Both Renesas RX and RL78 Toolchains Get Refreshed Today (Release 2019q4)

  1. Frank Kjul Larsen より:

    Hello GNU Tools.

    Thank you very much:-)
    What a leap. I certainly miss superlatives.
    I feel very exited to start using this new modern compiler for my RX projects.

    Best regards
    Frank Kjul Larsen

    • GNU Tools Support より:

      Dear Frank,

      Thank you so much for your support! We’re grateful for your kind comments, it’s awesome to see great supporters like yourself reaching out and staying in touch.

      We wish Happy Holidays to all our users!

      The GNU Tools Team

  2. fla0720 より:

    I’m sorry, I could not find the release note for GNURL78 on your homepage.
    It is only part of the installer.

コメントを残す

サポート