This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How many cycles requires the instruction QBNE?

QBNE (Quick branch not equal)

Using the PRU in the Beaglebone black (AM335x 1GHz ARM® Cortex-A8) I am asking how many cycles requires the instruction QBNE?

qbeq myLabel, r1, 0

I suppose two if the comparison is false: one is for compare and one is for the jump.

Instead, one, just the compare.

Thanks,

Br

Parents
  • I logged out and didn't notice your reply.

    You asked for QBNE in your question but used qbeq in your example.

    I also don't know the exact number of cycles these instructions take. I got curious in your question because I also would like to know the answer. A couple of years back, I already searched for a document tabulating the number of cycles each PRU instructions would take but I have not found it. The only information that I know is probably just similar to what you have: most instructions execute in single cycle except when accessing external memory.

    Like Pete's reply I recommend you try if you can obtain the answer from TI's E2E Community.

Reply
  • I logged out and didn't notice your reply.

    You asked for QBNE in your question but used qbeq in your example.

    I also don't know the exact number of cycles these instructions take. I got curious in your question because I also would like to know the answer. A couple of years back, I already searched for a document tabulating the number of cycles each PRU instructions would take but I have not found it. The only information that I know is probably just similar to what you have: most instructions execute in single cycle except when accessing external memory.

    Like Pete's reply I recommend you try if you can obtain the answer from TI's E2E Community.

Children
No data