Download Usage Restrictions - Renesas Electronics

Transcript
ZBG-CD-10-0030
Attachment 1 - 48/78
(5) The compiler uses any of r25 to r29 or lp (r31) in the function and does not use r20 to r24.
Caution This bug does not occur when -Xpro_epi_runtime=off is specified.
Example:
Checking the total size of the parameter area, automatic variable area, and register area for operation in the
assemble list
The .R symbol is defined after the function.
.set .S20, 0xd4
.set .F20, 0xd4
.set .A20, 0x80
.set .T20, 0x0
.set .P20, 0x0
.set .R20, 0xc0
 This value
.set .X20, 0xc0
[Workaround]
Specify the following option:
-Xpro_epi_runtime=off
[Correction]
This restriction has been removed in Ver. 2.60.
A tool used to check whether this restriction applies is available.
Contact an NEC Electronics sales representative or distributor for details.
No. 88 Restriction on generating code for complex expressions
[Description]
Invalid code might be generated or a compiler error (E3228: illegal operand (must be register))
might be output when executing a complex expression that includes many operations (at least four operators are
included) if the expression satisfies the conditions below.
This bug might occur even if the number of operators is less than 4, because expressions are combined internally
by optimization and might then satisfy the conditions below.
This bug is more likely to occur when the number of temporary registers is insufficient upon code generation and
the stack must be used instead.
However, this does not mean that this bug always occurs, because the
occurrence of this bug depends on the number of registers used and the amount of stack space used upon code
generation.
This bug might occur under the conditions below. The conditions vary according to the CPU used (V850 core or
V850E/V850ES core) and the version of the CA850 used.
Conditions:
(1) When using a V850E/V850ES core and CA850 Ver. 2.40 or 2.41, or when using a V850 core and CA850
Ver. 2.40, 2.41, 2.50, or 2.60
(a)
The operation references a packed member of a structure, and the member is
(a-1) a 2-byte member aligned to an odd address: See Example 1.
(a-2) a 4-byte member aligned to an address that cannot be divided by 4: See Example 2.
(b) The operation is referenced from a structure pointer that uses structure packing, the packing value
for the structure is 1, and a 2- or 4-byte member is referenced: See Example 1.