This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035: Data page pointer (DP) missing in certain code sequence

Part Number: TMS320F28035


Dear Champs,

I am asking this for our customer.

The user founds the data page pointer instruction seemed missing, which resulted in wrong results.

1. The old code sequence:

With this code sequence, the user found DP 0x235 was missing and AC.L2.Iff did not become 0.0f, which caused incorrect result and serious problem.

2. After changing code sequence, the user found the result became correct.

The user uses compiler V15.12.6.LTS as follows.

The optimization was OFF as below.

Questions:

1) Why did the compiler miss (or fail) to change the data page for "AC.L2.Iff"??

2) Is this a known issue?

3) The user is very concerned about this because it may happen in other part of the codes. How does the user prevent from this kind of issue in the future?

Wayne Huang

  • For the source file that generates this problem code ...

    Wayne Huang said:

    The user founds the data page pointer instruction seemed missing, which resulted in wrong results.

    1. The old code sequence:

    With this code sequence, the user found DP 0x235 was missing and AC.L2.Iff did not become 0.0f, which caused incorrect result and serious problem.

    ... please follow the directions in the article How to Submit a Compiler Test Case.

    Thanks and regards,

    -George