nCPU dialog box

Floating point processor (drop-down list)

Default

Generates code using the floating point capabilities of the selected processor or software floating point if the processor has no floating point support.

None

Rejects any use of floating point variables or constants in C, C++, or Pascal. Equivalent to the -fnone build-time option.

Software

Generate software floating point emulation code, regardless of the capabilities of the selected processor. Libraries built for software will also be used. Equivalent to the -fsoft build-time option.

The following are descriptions of the check boxes in the nCPU window.

Far function calls

This causes the compiler to generate function calls through a register; this allows for functions to be located at any distance from the caller. Without this, extremely large programs or programs with discontinuous text sections may not link if the range of the call instruction is exceeded.

Small Data Area Threshold

Specifies a size in bytes to determine which data objects appear in the Small Data Area. By default, objects four bytes or less are placed in the Small Data Area. Equivalent to the -sda= special data area option.

See the Development Guide for more information about the small data area optimization.

Put variables smaller than threshold size into (drop-down list)

Normal Data

Puts variables smaller than threshold into the Data Area.

Small Data

Allocates an area of memory to hold data objects smaller than the Small Data Threshold and references objects in that area using r4 as the base pointer register. Equivalent to the -sda Small Data Area option.

Zero Data

Allocates an area of memory to hold data objects smaller than the Zero Data Threshold and references objects in that area using r0 as the base pointer register. This improves program size and speed because addressing an object via the Small/Zero data area base register uses fewer instructions. The total size of the Small/Zero data area is limited to 64k; large applications may not be able to take advantage of this feature. Equivalent to the -zda special data area option.


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.