Overview

Description

The Renesas SH C Compiler is an optimizing ANSI C and ANSI C++ compiler for the SuperH embedded RISC microprocessor family. The SH C package includes a compiler, assembler and linker is supplied as part of the High-performance Embedded Workshop IDE.

In addition to full ANSI C support, the compiler provides #pragma language extensions and command-line switches to support target specific features and extended compiler functionality.

The SH C compiler has powerful and reliable code generation facilities for SH targets. A variety of optimization features allow you to generate highly optimized PROMable code. In particular, code can be optimized for size or speed to match the requirements of the particular application being developed...

Features

  • High-performance Embedded Workshop
  • Tool chain
  • Simulator
  • Call Walker
  • MapViewer
  • Learn More

Release Information

Latest Ver.: V.9.04 Release03

Released: Mar 7, 2016

Details of upgrade (See Tool News)

Operating Environment

Standard life cycle of Compilers (PDF | English, 日本語)

Note: V.9.xx is Renesas new product. Upgrading from any of older versions, V.8.xx, V.7.xx, V.6.xx and V.5.xx is not available.

Target Devices

Downloads

Software title Software type
Type
Date Date
ZIP 122.72 MB 日本語 Software & Tools - Evaluation Software
ZIP 369 KB 日本語 Software & Tools - Other
ZIP 19 KB Software & Tools - Other
ZIP 116.76 MB 日本語 Upgrade - Compiler
ZIP 116.72 MB 日本語 Upgrade - Compiler
ZIP 115.27 MB 日本語 Upgrade - Compiler
ZIP 113.47 MB 日本語 Upgrade - Compiler
EXE 102.84 MB 日本語 Upgrade - Compiler
EXE 101.36 MB 日本語 Upgrade - Compiler
EXE 97.25 MB 日本語 Upgrade - Compiler
EXE 92.27 MB 日本語 Upgrade - Compiler
EXE 90.79 MB 日本語 Upgrade - Compiler
EXE 67.04 MB 日本語 Upgrade - Compiler
EXE 54.02 MB 日本語 Upgrade - Compiler
EXE 36.91 MB 日本語 Upgrade - Compiler
EXE 59.84 MB Upgrade - Compiler
EXE 66.97 MB 日本語 Upgrade - Compiler
EXE 16.40 MB 日本語 Upgrade - Compiler
EXE 4.34 MB 日本語 Upgrade - Compiler
EXE 1019 KB 日本語 Upgrade - Compiler
LZH 718 KB Upgrade - Compiler
EXE 15.74 MB 日本語 Upgrade - Compiler
EXE 4.01 MB 日本語 Upgrade - Compiler
EXE 54.54 MB 日本語 Upgrade - Compiler
ZIP 21.21 MB 日本語 Upgrade - Debugger
ZIP 3.46 MB 日本語 Upgrade - IDE
ZIP 14.57 MB 日本語 Upgrade - IDE
ZIP 66.81 MB 日本語 Upgrade - IDE
ZIP 719 KB 日本語 Upgrade - IDE
29 items

Synergy Download

Documentation

Document title Document type
Type
Date Date
PDF 1007 KB 日本語 Application Note
PDF 243 KB 日本語 Application Note
PDF 280 KB 日本語 Application Note
PDF 478 KB 日本語 Application Note
PDF 147 KB 日本語 Application Note
PDF 339 KB 日本語 Application Note
PDF 300 KB 日本語 Application Note
PDF 331 KB 日本語 Application Note
PDF 665 KB 日本語 Application Note
PDF 715 KB 日本語 Application Note
PDF 333 KB 日本語 Application Note
PDF 553 KB 日本語 Application Note
PDF 1.08 MB 日本語 Application Note
PDF 401 KB 日本語 Application Note
PDF 601 KB 日本語 Application Note
PDF 365 KB 日本語 Application Note
PDF 549 KB 日本語 Application Note
PDF 537 KB 日本語 Application Note
PDF 610 KB 日本語 Application Note
PDF 649 KB 日本語 Application Note
PDF 1.21 MB 日本語 Application Note
PDF 305 KB 日本語 Application Note
PDF 248 KB 日本語 Application Note
PDF 5.54 MB 日本語 Application Note
PDF 1.30 MB 日本語 Guide
PDF 352 KB 日本語 Guide
PDF 15.12 MB 日本語 Manual - Development Tools
PDF 4.16 MB 日本語 Manual - Development Tools
PDF 1.85 MB 日本語 Manual - Development Tools
PDF 212 KB 日本語 Manual - Development Tools
PDF 1.89 MB 日本語 Manual - Development Tools
PDF 2.67 MB 日本語 Manual - Development Tools
PDF 835 KB 日本語 Manual - Development Tools
PDF 1.46 MB 日本語 Manual - Development Tools
PDF 120 KB 日本語 Manual - Development Tools
PDF 307 KB 日本語 Release Note
PDF 136 KB 日本語 Release Note
PDF 186 KB 日本語 Tool News - Note
PDF 225 KB 日本語 Tool News - Note
PDF 144 KB 日本語 Tool News - Note
PDF 178 KB 日本語 Tool News - Note
PDF 101 KB 日本語 Tool News - Note
PDF 104 KB 日本語 Tool News - Note
PDF 44 KB 日本語 Tool News - Note
PDF 329 KB 日本語 Tool News - Note
PDF 204 KB 日本語 Tool News - Note
PDF 226 KB 日本語 Tool News - Note
PDF 319 KB 日本語 Tool News - Note
PDF 202 KB 日本語 Tool News - Note
PDF 206 KB 日本語 Tool News - Note
PDF 206 KB 日本語 Tool News - Note
PDF 197 KB 日本語 Tool News - Note
PDF 240 KB 日本語 Tool News - Note
PDF 201 KB 日本語 Tool News - Note
PDF 223 KB 日本語 Tool News - Note
PDF 201 KB 日本語 Tool News - Note
PDF 194 KB 日本語 Tool News - Note
PDF 194 KB 日本語 Tool News - Note
PDF 230 KB 日本語 Tool News - Note
PDF 201 KB 日本語 Tool News - Note
PDF 205 KB 日本語 Tool News - Note
PDF 235 KB 日本語 Tool News - Note
PDF 199 KB 日本語 Tool News - Note
PDF 195 KB 日本語 Tool News - Note
PDF 223 KB 日本語 Tool News - Note
PDF 192 KB 日本語 Tool News - Note
PDF 213 KB 日本語 Tool News - Note
PDF 195 KB 日本語 Tool News - Note
PDF 194 KB 日本語 Tool News - Note
PDF 195 KB 日本語 Tool News - Note
PDF 199 KB 日本語 Tool News - Note
PDF 195 KB 日本語 Tool News - Note
PDF 196 KB 日本語 Tool News - Note
PDF 195 KB 日本語 Tool News - Note
PDF 196 KB 日本語 Tool News - Note
PDF 215 KB 日本語 Tool News - Note
PDF 194 KB 日本語 Tool News - Note
PDF 197 KB 日本語 Tool News - Note
PDF 192 KB 日本語 Tool News - Notification
PDF 194 KB 日本語 Tool News - Notification
PDF 184 KB 日本語 Tool News - Release
PDF 824 KB 日本語 Tool News - Release
PDF 205 KB 日本語 Tool News - Release
PDF 202 KB 日本語 Tool News - Release
PDF 595 KB 日本語 Tool News - Release
PDF 422 KB 日本語 Tool News - Release
PDF 197 KB 日本語 Tool News - Release
PDF 195 KB 日本語 Tool News - Release
PDF 205 KB 日本語 Tool News - Release
PDF 195 KB 日本語 Tool News - Release
PDF 198 KB 日本語 Tool News - Release
PDF 197 KB 日本語 Tool News - Release
PDF 199 KB 日本語 Tool News - Release
PDF 203 KB 日本語 Tool News - Release
PDF 197 KB 日本語 Tool News - Release
PDF 196 KB 日本語 Tool News - Release
PDF 202 KB 日本語 Tool News - Release
PDF 208 KB 日本語 Tool News - Release
PDF 198 KB 日本語 Tool News - Release
PDF 195 KB 日本語 Tool News - Release
PDF 218 KB 日本語 Tool News - Release
PDF 201 KB 日本語 Tool News - Release
102 items

Design & Development

Sample Code

Sample Code

Filters
Title Type Date Date
ZIP 502 KB 日本語 Sample Code
1 item

Additional Details

Functions

[C/C++ Compiler]

  • Language specification: Exception handling and Template functions are supported according to ANSI/ISO standards.
  • Complies with C/C++ language in ANSI specification
    • Supports C89, C99 (subset of functions*), and C++98. * long long, // comments
  • Optimizing function: The dedicated optimization which are for each microcomputer have been implemented in addition to the general optimization techniques that are deletion of common expression, register allocation, etc. Furthermore, the optimization function has also realized the optimization over between source files at the time of a link.
  • Introduces the latest optimization technology developed for supercomputers
    • Optimization at recompilation using link information (optimization of access to external variable)
    • Inter-module optimization of access to external variable
  • Embedded function: Interruption function description, system command description, etc., which are not supported by ANSI C/C++ language Specification and which are useful to support the function for the embedded program as an extended function.
  • Extended language function for SuperH RISC engine family
    • Intrinsic functions
    • Section address operators
    • #pragma directives
  • Object generation in all CPUs from SH-1 to SH-4
  • Improved output way of compile list
  • Standard object format (ELF/DWARF2)
  • Embedded C++ language spec-compliant class libraries
  • High performance DSP library optimized by DSP instruction
  • The header file fixed.h that defines various limitations concerning the internal representation of fixed-point numbers is also added
  • Supports DSP-C language
  • Loosening limits on number of switch statements: 256 -> 2048
  • DSP library of fixed-point type is supported
  • Specify bit-field of union
  • Enhanced to 4096 level of nesting by combination of iteration statement and selection statement

[Assembler]

  • Pre-processor function: A source program is described efficiently by pre-processor functions such as a file inclusion function, conditional assembly function, macro function, etc..
  • Instruction support to all CPU from SH-4 to SH-1 include DSP
  • Description of Double accuracy floating point constant is possible
  • File include function
  • Assembly function with condition
  • Macro function
  • Support ELF/DWARF2 format
  • Floating-point arithmetic operations can be specified in the assembler directive for reserving floating-point data
  • Supports .STACK Directive which enables the stack size of a function written in the assembly language to be reflected in the stack analysis tool
  • The number of characters in a replacement symbol specified in .DEFINE was extended from 32 characters to unlimited

[Optimizing Linkage Editor]

  • Optimizing function: It executes optimizations that are memory allocation and code optimizations that related functions callings. These optimizations can not be done in the C/C++ compiler.
  • Output file: Linkage Editor outputs several formats like ELF from, S type form and HEX form. And it is available to output the symbol reference list.
  • Compression function of debug information
  • Inter-module optimization function
  • Plurality load module selection
    • Relocatable ELF format
    • Absolute ELF format
    • S type format.
    • HEX format
    • Binary format
  • Support ELF/DWARF2 format
  • Creation and edition of library file is possible
  • Analysis by list file output
    • Output the number of times of symbol reference
    • Output symbol reference information (cross-reference information)
  • Changing error level when a section address is overlapped
  • A boundary alignment value can be specified for the section specified by the binary option.

[Standard Library Configuration Tool]

Generate the standard library file, which is provided by a compiler, by using the user-specified option. Select of the optimization and generation of the standard library file that is the reentrants type (case of SH) are available by options.

  • Customize of standard library by generating standard library for every project is possible.
  • Support reentrant library.
  • Variable change per malloc reservation size (Saving of RAM capacity is possible).
  • Variable change of the number of open file (Saving of RAM capacity is possible).
  • Support for simple I/O (Generate a small size function with no supporting floating point).

[Format Converter]

  • Conversion from the old format to ELF format
  • Conversion from ELF format to the old format

Components

For details, refer to the "C/C++ Compiler Package for SuperH Family Software Component List (PDF | English, 日本語)".

Supported MCU core, DSP Instructions, Object Format

Compiler Package Version Supported Devices (MCUs) DSP Instructions (Note1) Support Object Format Device File Updater (Note2)
V.9 Windows version SH-1, SH-2 (Note5), SH-2E, SH2-DSP, SH-2A, SH2A-FPU, SH-3, SH3-DSP, SH-4, SH-4A, SH4AL-DSP, SH-Mobile (Note4) DSP-C language Assembly language DSP library (Note3) ELF/DWARF2 Available
V.9 UNIX version (Discontinued) SH-1, SH-2 (Note5), SH-2E, SH2-DSP, SH-2A, SH2A-FPU, SH-3, SH3-DSP, SH-4, SH-4A, SH4AL-DSP, SH-Mobile (Note4) ELF/DWARF2 Unsupported
V.8 (Discontinued) SH-1, SH-2, SH-2E, SH2-DSP, SH-3, SH3-DSP, SH-4, SH-4A, SH4AL-DSP, SH-Mobile (Note4) ELF/DWARF2
V.7 (Discontinued) SH-1, SH-2, SH-2E, SH2-DSP, SH-3, SH3-DSP, SH-4 Assembly language DSP library (Note3) ELF/DWARF2
V.6 (Discontinued) ELF/DWARF2
V.5 (Discontinued) SYSROF

Notes

  1. Available only for MCU/MPU with a DSP module.
  2. Device File Updater is a utility tool which adds or updates automatically the High-performance Embedded Workshop's source files such as a start-up routine, I/O header file, etc.
  3. The DSP library is included in this C/C++ compiler package.
  4. If you use middleware, make sure the version of your C/C++ compiler package is supported by the middleware to be used. (Please inquire of the middleware distributor.)
  5. Supports little endian. (V.9.00 Release01 or later)

(Discontinued): This version is no longer marketed.