Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8113739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:55:36+00:00 2026-06-06T02:55:36+00:00

From Intel’s article : The integer format conversions are commonly used in imaging and

  • 0

From Intel’s article:

The integer format conversions are commonly used in imaging and video applications. For example, they can be used when converting RGBA from four bytes to four floats prior to computation on a pixel. One SSE4 convert instruction can do the same thing as four SIMD instructions did previously, as shown.

SSE2: 
pmovd xmm0, m32 
pxor xmm7, xmm7 
punpcklbw xmm0, xmm7 
punpcklwd xmm0, xmm7 
cvtdq2ps xmm0, xmm0

SSE4: 
pmovzxbd xmm0, m32 
cvtdq2ps xmm0, xmm0

Can someone show me a complete example please? Thanks a lot!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T02:55:38+00:00Added an answer on June 6, 2026 at 2:55 am

    Because pmovzxbd does only work on 32 bit memory operands or 128 bit sse registers, but not on general purpose registers, you need to insert some type conversions or an explicit load from GPR to SSE.

    __m128 convert_RGBA_to_float(float* rgba) {
        return  _mm_cvtepi32_ps( _mm_cvtepu8_epi32 ( *(__m128i*)rgba) );
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way that I can (using tbb from intel) specify the number
From this context: import itertools lines = itertools.cycle(open('filename')) I'm wondering how I can implement
From the Scala API , I got the following example, which does not compile;
From 2.13.2/3 The double quote and the question mark ? , can be represented
iam playing around with OPEN CV from Intel with the associated PHP Extensions. Works
I am stuck on HEX(intel hex) format which I see in Hex Editor (Hex
I just updated Intel C++ from 12.0 to 12.1. I uninstalled the 12.0 from
I'm trying to port a program from gfortran to ifort (Intel Fortran Compiler 11).
How do you translate these lines from Linux assembly to Intel assembly? pushl cb_queue
I found this paragraph in the Intel developer manual: From the chaper PROGRAMMING WITH

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.