Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Cross platform SSE/MMX capabilities detection
Forum Updated to NodeBB v4.3 + New Features

Cross platform SSE/MMX capabilities detection

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JulienMaille
    wrote on last edited by
    #1

    I think the title says it all. Is there a way to do this with Qt?
    I find it already difficult to do this for windows only (found some obscure asm calls that sometime do the job and most of the time fail)

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      There is no way to check that with Qt.
      This is platform and/or processor specific.
      I know no other way then to do this in asm :-(

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JulienMaille
        wrote on last edited by
        #3

        Could you advise some asm magical that work on linux? Thanks a lot

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          Again, not really specific to Qt. Probably not going to find a lot of answers here, unfortunately. If so, great, but the best I can suggest is: http://lmgtfy.com/?q=detect+MMX+SSE+linux

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            JulienMaille
            wrote on last edited by
            #5

            I found those one each time I got asm related compilation errors.
            In the mean time I found this: http://qt.gitorious.org/qt/qt/blobs/fac68dca46131d63f11c37210834073848f5a93d/src/corelib/tools/qsimd_p.h

            1 Reply Last reply
            0
            • U Offline
              U Offline
              utcenter
              wrote on last edited by
              #6

              Are there any x86 processors without SSE still? Maybe a few antiques that are hardly worth the consideration. All x86 processors, manufactured the last 11 years are at least SSE2 capable.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved