Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
Short-circuiting in C
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Billy Mays, post: 4214503"] The processor is SIMD so each thread runs the same code, but they modify their own data. As long as each thread executes the same instruction, the processor can simultaneously work on each thread's data. However, if one of the threads branches then the processor degrades (SISD?) and loses a lot of the parallelism. The goal here is to ensure each thread does exactly the same thing, even if it is slightly wasteful. Note: These are not OS threads; they are similar but lighter weight. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
Short-circuiting in C
Top