SPARC 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 or software floating point if the selected 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 capability 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 Sparc window.

pic (small offset)

Generates System V.4 style Position Independent Code with 16-bit offsets. Code generated with this option is placed into a shared object. Equivalent to the -pic PIC option.

PIC (large offset)

Generates System V.4 style Position Independent Code with 32-bit offsets. Code generated with this option is placed into a shared object. The larger offset degrades program size and speed, but increases the limit on the number of external symbols appearing in a shared object. All modules in a single shared object are compiled with the same type of offset. Equivalent to the -PIC command line option.

Assume Double Alignment

By default, 4-byte loads and stores access all 8-byte objects in memory to avoid any errors caused by using an 8-byte load on an address which is a multiple of four, but not a multiple of eight. This option uses 8-byte loads and stores to access 8-byte objects. This improves program size and speed, but requires all 8-byte objects to align properly. Equivalent to the -dalign command line option.

Reserve Registers g5, g6, g7 for User

This option will keep the compiler from using the %g5, %g6 or %g7 registers as general purpose, permanent registers.

Small Data Area

Allocates a small area of memory to hold small data objects and references objects in that area using a base pointer register. This improves program size and speed because addressing an object via the Small Data Area base register uses fewer instructions. The total size of the Small Data Area is limited to 8K; therefore, large applications may not be able to take advantage of this feature. Equivalent to the -sda command line option.


Previous

Next



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