advice #30002: Loop at line 8 cannot be scheduled efficiently, as it contains an asm() statement. Try to replace the asm() statement with C or intrinsic statement.
This Advice is issued to alert you to assembly statements in your code, within a loop. This will disable software pipelining, which is critical for generating efficient code sequences.
An asm statement inserted in a C code loop will disqualify the loop for software pipelining. Software-pipelining is a key optimization for achieving good performance. You may see reduced performance without software pipelining.
If this condition occurs, the compiler cannot perform the software pipelining loop optimization, which is crucial to getting good performance.
Replace the asm() statement with native C, or an intrinsic function call.
Want to squeeze a few more Performance Cycles out of your application? Leverage the e2e (Engineer-to-Engineer) online community to get all of your Advice questions answered! Or, give back to the community with your expertise.