Keil Logo

MDU_R515 Compiler Directive

Abbreviation

None.

Arguments

None.

Default

Multiply/Division Unit support is disabled.

µVision

Options — Target — Use On-Chip Arithmetic Unit.

Description

The MDU_R515 directive enables support for the Multiple/Division Unit (MDU) of the Cast/Evatronix R80515. When this directive is specified the compiler uses the MDU to increase the speed of the following operations:

Operation Implementation
signed int mul Intrinsic
unsigned int mul Intrinsic
signed int div ?C?SIDIVR515 routine
unsigned int div ?C?UIDIVR515 routine
signed long mul ?C?LMULR515 routine
unsigned long mul ?C?LMULR515 routine
signed long div ?C?SLDIVR515 routine
unsigned long div ?C?ULDIVR515 routine
signed long shift left ?C?LSHLR515 routine
unsigned long shift left ?C?LSHLR515 routine
unsigned long shift right ?C?ULSHRR515 routine
See Also

NOMDU_R515

Example
C51 SAMPLE.C MDU_R515

#pragma mdu_r515
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.