Partager via


-Qdsp

This option specifies compilation for the Hitachi SH3-DSP microprocessor. The syntax is:

-Qdsp

Use of the /Qdsp option allows the use of DSP instructions in inline assembly instructions. The compiler generates no DSP-specific code.

Use of the /Qdsp option also marks the .OBJ file produced by the compiler or assembler as IMAGE_FILE_MACHINE_SH3DSP. Non-DSP SH-3 object files are marked as IMAGE_FILE_MACHINE_SH3.

You can link IMAGE_FILE_MACHINE_SH3DSP and IMAGE_FILE_MACHINE_SH3 object files and libraries together. The resultant type is the more restrictive type IMAGE_FILE_MACHINE_SH3DSP. You cannot link either of these object file types with IMAGE_FILE_MACHINE_SH4 files.

If the /Qdsp switch is not specified, the source program will be compiled for the basic Hitachi SH3 microprocessor, which is the default.

**Note   **The /Qdsp switch is incompatible with the –Qsh4 switch.

See Also

About Microprocessor Compilers | Hitachi Guide

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.