Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
Do WAITXXX instructions stall the pipeline for muti-threading? — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
Propeller 2
Do WAITXXX instructions stall the pipeline for muti-threading?
pedward
Posts:
1,642
2013-03-30 20:29
edited 2013-03-30 20:40
in
Propeller 2
If you thread WAITVID, does it stall the other instructions in the pipeline?
Comments
cgracey
Posts:
14,275
2013-03-30 20:40
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.
Comments
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.