This option applies a patch.
[Specification format]
-Xpatch=string[,string]...
|
- | Interpretation when omitted |
The patch is not 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
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
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.
[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
|