Jump to content

multiprocessor + threads

- - - - -

  • Please log in to reply
1 reply to this topic

#1
innerLOL

innerLOL

    Newbie

  • Members
  • PipPip
  • 29 posts
when i write application, sometimes i must check some things via cpuid. For example existance of fpu/mmx/sse/some instructions like cmpxch16b.

Is it possible, that cpuid will success on 1 cpu - one having SSE, and fail on other?

When my thread will be scheduled on other cpu not havins SSE, it would be bad.




Is it possible that in multiprocessor envorenment cpus can be diffrent?

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript

Quote

Is it possible that in multiprocessor envorenment cpus can be diffrent?
I would say no. Especially if it's a multicore processor - that'd be a pain to schedule threads on. Plus I have no idea why a manufacturer would put different cores on a die...
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users