rl_this. STMicroelectronics STxP70

STxP70 is a compiler that manages the stages of the compilation process: preprocessing, compiling into assembly language, assembling and linking. The assembler file is compiled using stxp70-as and linked using stxp70-ld to provide an STxP70 binary image. All these phases are hidden using the driver tool stxp70cc. This compiler supports the ANSI C89 standard and partially supports the ANSI C99 standard.

PDF
Document
STxP70 compiler User manual | Manualzz

Advertisement

Advertisement

/

Advertisement

Key features

  • GNU C language parser

  • State-of-the-art optimizations

  • Hardware loop mechanisms

  • Special addressing modes

  • Memory space optimization

  • Instruction scheduling

  • Compiler intrinsics and built-ins support

  • Support for X3, FPX, and MPx extensions

Frequently asked questions

The purpose of the STxP70 compilation driver (stxp70cc) is to manage the stages of the compilation process: preprocessing, compiling into assembly language, assembling and linking. The assembler file is compiled using stxp70-as and linked using stxp70-ld to provide an STxP70 binary image. All these phases are hidden using the driver tool stxp70cc.

This user manual provides detailed information to enable users to write efficient code optimized to run on the STxP70 processors and to compile and link it ready for execution by sxrun. The manual covers: stxp70cc driver options, pragmas supported by stxp70cc, compiler optimization techniques, GNU C language extensions, GNU asm construct, built-in functions.

The load/run tool sxrun and the STxP70 debugger sxgdb are described in the STxP70 Professional Toolset user manual (7833754).

User questions

H Q

Linda H.

How does the STxP70 compiler manage floating-point arithmetic and the float type?

The STxP70 compiler assumes double precision by default but can be instructed to use single precision via the -fshort-double option. Floating-point support can be managed with -mlib-nofloat to reduce library size, while the -trapuv option initializes float variables to a NaN pattern for debugging. Floating-point arithmetic is enabled by connecting the FPx extension via -Mextension=fpx.

Preparing document for printing…
0%