Are registers program/thread independent?

Everything else that doesn't fall into one of the other PB categories.
Dreglor
Enthusiast
Enthusiast
Posts: 759
Joined: Sat Aug 02, 2003 11:22 pm
Location: OR, USA

Are registers program/thread independent?

Post by Dreglor »

I was pondering ways to optimize a project of mine and when the question came to me; do CPU registers such as SSE registers stay local with a thread or is globally accessed between all threads?
~Dreglor
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

I think it is the case, it would be really difficult to handle else. Regular CPU registers are preserved between thread for sure.
Post Reply