Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. intel intrinsic 8bit int to float
Forum Updated to NodeBB v4.3 + New Features

intel intrinsic 8bit int to float

Scheduled Pinned Locked Moved Unsolved C++ Gurus
3 Posts 2 Posters 480 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.
  • Q Offline
    Q Offline
    Q139
    wrote on last edited by Q139
    #1

    How to convert 8bit uint to float using most optimal AVX512 or older features?
    Could be vectorized operation but i am new to intel intrinsics and cannot figure it out.

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #2

      Isn't compiling with '-O2 -funroll-loops' enough? According to godbolt.org I would say yes. And when you're sure the target supports AVX instructions then add ' -mavx'

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      Q 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        Isn't compiling with '-O2 -funroll-loops' enough? According to godbolt.org I would say yes. And when you're sure the target supports AVX instructions then add ' -mavx'

        Q Offline
        Q Offline
        Q139
        wrote on last edited by
        #3

        @Christian-Ehrlicher Thanks for the flags , will check the results.

        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