SH dialog box

Processor (drop-down list)

Generates code for the selected processor's instruction set.

Floating point processor (drop-down list)

Default

Generates code using the floating point capabilities of the selected processor.

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 is a description of the items in the SH window.

Position Independent Code

Generates position independent code. Equivalent to the -pic PIC option.

Position Independent Data

Generates position independent data. Equivalent to the -pid PID option.

Little Endian

Specifies code generation for a little endian system. Equivalent to the -littleendian command line option.

All Floating Point is Single Precision

This option will cause "double" to be interpreted as "float" so no 64-bit instructions will be required for floating point operations. Equivalent to the -floatsingle command line option.

Disable use of MACH, MACL, and GBR by compiler

Prevents the compiler from using the MACH, MACL, or GBR registers as general purpose, permanent registers.

Small Data Area

Allocates a small area of memory to hold small data objects and reference objects in that area using a base pointer register. This may improve program size and speed because addressing an object via the small data area base register sometimes uses fewer instructions. Equivalent to the -sda small data area option.

Small Data Area Threshold

Specifies a size in bytes to determine which data objects appear in the small data area. Equivalent to the -sda= special data area option.


Previous

Next



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