[EXT_EP-8525] Assembler computes wrong result for expression 0x232800 % 0x10000 Created: 13/Dec/17 Updated: 19/Feb/20 Resolved: 13/Dec/17 |
|
Status: | Fixed |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Generation Tools |
Internal ID: | CODEGEN-4113 |
Forum URL: | https://e2e.ti.com/support/development_tools/compiler/f/343/t/649271 |
Found In Release: | PRU_2.2.0 C6000_8.2.0 C2000_16.9.0.LTS |
Fix In Release: | C6000_8.3.0 C6000_8.2.3 ARM_16.9.7.LTS |
Workaround: | In some instances, as in the original test case, the AND operator can be used instead, but that is not a general workaround. |
Release Notes: | The modulo operator in the TI assembler, for releases made in mid-to-late 2016 and all of 2017, is unreliable. In some cases it will produce an incorrect answer. |
Description |
Assembler computes wrong result for expression 0x232800 % 0x10000 |