Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about sse4

Read more about sse4

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - sse4

Is there a way to cast integers to bytes, knowing these ints are in range of bytes. Using SSE?

In an xmm register I have 3 integers with values less than 256. I want to cast these to bytes, and save them to memory. I don't know how to approach it. I was thinking about getting those numbers from...
test-img

thomas113412

assembly

x86-64

masm

sse

sse4

Votes: 0

Answers: 1

Latest Answer

The easiest way is probably to use pshufb to permute the bytes, followed by movd to store the datum: ; convert dwords in xmm0 into bytes and store into dest pshufb xmm0, xmmword ptr m...
test-img

fuz

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved