Share via


-Qfast, -Qfastd, -Qfast - Provide Backward Compatibility

These options, Qfast, Qfastd, and Qfast-, provide backward compatibility. /Qfastd is the default.

Microsoft® Windows® CE version 3.0 and later operating systems support full IEEE compliant hardware operations including the use of denormal operands. This allows the compiler to default to use of the SH-4 hardware instructions for both single and double precision floating-point operations.

The –Qfast- option causes the compiler to call CRT emulation routines for all floating-point operations.

The -Qfast option allows the compiler to use single precision SH-4 floating-point instructions. It will also generate a warning if the compiler finds a double floating point constant. Do not use double constants when performance is a consideration, because double constants can unnecessarily promote an operation-type from single to double precision.

Note   Floating-point constants default to type double. You may specify single precision floating point constants with a floating suffix f or F such as 3.14159f.

The default /Qfastd command line option allows the compiler to use single and double precision SH-4 floating-point instructions. The compiler does not generate warnings for double constants when you specify -Qfastd. The -Qfastd command line option may cause the compiler to produce slightly larger code.

See Also

About Microprocessor Compilers | Hitachi Guide

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.