Shop OBEX P1 Docs P2 Docs Learn Events
Do WAITXXX instructions stall the pipeline for muti-threading? — Parallax Forums

Do WAITXXX instructions stall the pipeline for muti-threading?

pedwardpedward Posts: 1,642
edited 2013-03-30 20:40 in Propeller 2
If you thread WAITVID, does it stall the other instructions in the pipeline?

Comments

  • cgraceycgracey Posts: 14,206
    edited 2013-03-30 20:40
    Yes, but you can do a POLLVID WC to find out if VID is ready to do a WAITVID in just one clock.

    All the WAITxxx instructions stall the pipeline, but there are single-clock alternative instructions for every case to support multi-threading.

    It's all explained in the doc's, except for the 32x32 multiplier, 64/32 divider, and 64 square rooter, as those haven't been documented yet.
Sign In or Register to comment.