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.

Assembler does not recognize resource conflict of cross path in SPLOOP buffer

Incorrect assembler behaviour with CGT v6.1.21 for C6455 DSP:


.text

; Assembler does not recognize resource conflict of cross path in SPLOOP buffer

sploop 1
add .l1x A4, B4, A5 ; Cross path at side A used
add .s1x A0, B0, A1 ; Cross path at side A used Resource conflict
spkernel

.end

What to do about it? Is it a bug?

  • Is this hand coded assembly or the assembly code generated by the compiler? I'm not an expert on sploop but I don't see a resource conflict between the two instructions themselves, and there is no such error reported by any version of the assembler (I tried a few different versions).

  • Thank you for the response, AartiG.

     Yes, it is a hand coded assembly.
    And the fact the assembler does not generate any error of the resource conflict is the error in itself. That's why I've brought up the issue.

    This piece of assembly would compile ok but wouldn't work properly. One of the assembly instructions would receive incorrect input parameter data value, namely from Bx register. The person who's an expert on SPLOOP should understand that better. 

  • I've submitted this as bug # SDSCM00044591 for further analysis by the compiler team. You may track the status of the bug using the SDOWP link in my signature.