SPRZ580 December   2024 AM62D-Q1

 

  1.   1
  2. 1Usage Notes and Advisories Matrices
    1. 1.1 Devices Supported
  3. 2Silicon Usage Notes and Advisories
    1. 2.1 Silicon Usage Notes
      1.      i2351
      2.      i2372
    2. 2.2 Silicon Advisories
      1.      i2049
      2.      i2062
      3.      i2134
      4.      i2189
      5.      i2196
      6.      i2199
      7.      i2208
      8.      i2249
      9.      i2278
      10.      i2279
      11.      i2310
      12.      i2311
      13.      i2312
      14.      i2366
      15.      i2371
      16.      i2120
      17.      i2137
      18.      i2253
      19.      i2383
      20.      i2401
      21.      i2407
      22.      i2409
      23.      i2410
      24.      i2376
      25.      i2399
      26.      i2413
      27.      i2414
      28.      i2417
      29.      i2419
      30.      i2420
      31.      i2421
      32.      i2422
      33.      i2423
      34.      i2431
      35.      i2435
  4.   Trademarks
  5.   Revision History

i2376

C7x: SE/SA/HWAOPEN receives corrupted template following two back to back VPUT/MVC instructions

Details

On the C7604 CPU, programming information is sent to the Streaming Engines via SEOPEN, the Streaming Address Generators via SAOPEN, and to the MMA via the HWAOPEN instructions. This programming information is sourced from CUCR registers in the CPU that are populated and updated via the MVC and VPUT family of instructions. Data being written into these CUCR registers can be incorrectly forwarded to the SEOPEN, SAOPEN, and HWAOPEN instructions if in a sequence of three CPU cycles a CUCR register is updated on the first two cycles and then used by an SEOPEN, SAOPEN, or HWAOPEN instruction on the third.

For example, this sequence will cause a forwarding error to occur in the execution of the SAOPEN instruction, corrupting SA0's programming:

MVC .C2 VB0, CUCR0
VPUTD .C2 B1, 0, CUCR0
SAOPEN .C2 CUCR1:CUCR0, 0

Workaround

The issue can be avoided by avoiding the sequence of three execute packets where the first two contain MVC/VPUT instructions that write to the same CUCR and the third contains an SE/SA/HWAOPEN instruction that reads from the same. The workaround is included automatically by the compiler when compiling C7504 code.