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

  • SEARCH
  • Home
  • 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 8117251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:06:15+00:00 2026-06-06T04:06:15+00:00

SSE 4.2 perform comparation on two operands of 16 bytes at a time .

  • 0

SSE 4.2 perform comparation on two operands of 16 bytes at a time. But it is also possible to compare two operands of 8 bytes at a time with the ordinary processor instructions.

Difference is not so large, to have the special hardvare realization of such comparison. Is SSE 4.2 so irrelevance, or I missed something?

  • 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-06T04:06:17+00:00Added an answer on June 6, 2026 at 4:06 am

    I’m not sure of the specifics of how the standard register comparison instructions perform in comparison to their wider SSE equivalents (it’s possible that the standard comparison instruction might require more cycles), but a 2x improvement in throughput isn’t anything to shake a stick at.

    I think you’re asking “why even have SSE 4.2 if all you get is 2 comparisons at once instead of 1?” I think you’re overlooking a few things:

    • As I noted before, twice the width on an operation is nice to have. If you’re working on an application that does a lot of these comparisons, you’re probably happy that it’s there.

    • It’s likely that the incremental cost of adding this instruction to the already-existing SSE execution units was relatively small. There is already a lot of hardware in place to perform the wide range of operations already defined for the earlier SSE instruction sets.

      Nowadays, the instructions that seem to get added are either wider
      versions of older capabilities (e.g. many of the AVX instructions) or
      operations that are important for certain specific applications (e.g.
      the CRC/AES instructions, 4-element dot products). It’s possible that
      there is some application that benefits a lot from such a comparison
      instruction and the cost of adding it was worth the marketing benefit
      achieved by being faster on those types of code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I take the reciprocal (inverse) of floats with SSE instructions, but only
SSE and/or 3D now! have vector instructions, but what do they optimize in practice
This is a somewhat low-level question. In x86 assembly there are two SSE instructions:
Many SSE instructions allow the source operand to be a 16-byte aligned memory address.
Is there any difference between logical SSE intrinsics for different types? For example if
I am new to optimizing code with SSE/SSE2 instructions and until now I have
Is it possible to use the new SSE registers from Visual Studio 2010 inline
I'm trying to understand how shifting with SSE works, but I don't understand the
SSEPlus is an open source library from AMD for unified handling of SSE processor
Following my previous question (I assume that 64-bit compiler uses only SSE instructions for

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.