Everything

 

-Xpatch


This option applies a patch.

[Specification format]

-Xpatch=string[,string]...

 

-

Interpretation when omitted

The default patch is applied.

[Detailed description]

One of the following can be specified as string. An error will occur if any other item is specified.

-

dw_access
A code is generated without using the ld.dw and st.dw instructions.

-

switch [V1.03.00 or later]
If -Xcpu=g3m option is specified, the switch instruction is generated on some condition only when this option is specified
In other cases, this option is ignored. that is, the switch instruction is generated on some condition regardless this option is specified or not.

-

syncp [V1.03.00 or later]
If -Xcpu=g3m option is specified, syncp instruction is generated at the entry of each interrupt functions defined with the following #pragma interrupt directive.

-

priority=SYSERR/FPI/FENMI/FEINT/EIINT_PRIORITYX is specified.
(X is within the range of 0 to 15)

-

neither priority nor channel specified.

In other cases, this option is ignored.

The following shows the default patch that is applied when this option is not specified.

-

When the -Xcpu=g3m option is specified, the output of the switch instruction is suppressed.

[Example of use]

-

To generate a code without using the ld.dw and st.dw instructions, describe as:

>ccrh -Xpatch=dw_access -Xcommon=rh850 main.c