Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

do the Shufps

DSP related issues, mathematics, processing and techniques

Re: do the Shufps

Postby tulamide » Sat May 15, 2021 1:58 pm

Spogg wrote:
tulamide wrote:Am I ignored, or does nobody know?


Definitely ignored. :lol:

We need a “I read your post but I know nothing" button!

;) :D
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: do the Shufps

Postby RJHollins » Sat May 15, 2021 5:59 pm

Does it come with a T-Shirt ?
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: do the Shufps

Postby HughBanton » Sun May 16, 2021 11:05 am

RJHollins wrote:
Does it come with a T-Shirt ?

[Button pushed :] "I read your post but I know nerrthing" :lol: (now I'll await the FS T-Shirt ...)

I confess I speed-read the Intel Words that Tula posted and didn't spot that it was actually so garbled; looks like a serious bit of copying-and-pasting gone wrong. With several "from's", "of the's" and "to's" missing altogether. I assume what they were trying to say was :

The source operand can be an XXM register or a 128-bit memory location. The destination operand is an XMM register. The select operand is an 8-bit immediate:
bits 0 and 1 select the value to be moved from the source operand to the destination operand of the low doubleword of the result,
bits 2 and 3 select the value to be moved from the source operand to the destination operand of the second doubleword of the result,
bits 4 and 5 select the value to be moved from the source operand to the destination operand of the third doubleword of the result,
and bits 6 and 7 select the value to be moved from the source operand to the destination operand of the high doubleword of the result.

Well, at least it's in English now, but is it backwards?

Is all Intel documentation written like this? .. it could easily confuse a stupid person :roll:

H
User avatar
HughBanton
 
Posts: 265
Joined: Sat Apr 12, 2008 3:10 pm
Location: Evesham, Worcestershire

Re: do the Shufps

Postby martinvicanek » Sun May 16, 2021 1:51 pm

HughBanton wrote:Is all Intel documentation written like this? .. it could easily confuse a stupid person :roll:

It did confuse me! Hmm... :?
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: do the Shufps

Postby Spogg » Sun May 16, 2021 4:45 pm

martinvicanek wrote:
HughBanton wrote:Is all Intel documentation written like this? .. it could easily confuse a stupid person :roll:

It did confuse me! Hmm... :?


Then there’s no hope for the rest of us.
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: do the Shufps

Postby tulamide » Mon May 17, 2021 7:51 am

Spogg wrote:
martinvicanek wrote:
HughBanton wrote:Is all Intel documentation written like this? .. it could easily confuse a stupid person :roll:

It did confuse me! Hmm... :?


Then there’s no hope for the rest of us.

Indeed! If we can't rely on Martin, we will all fail!
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: do the Shufps

Postby tulamide » Mon May 17, 2021 8:07 am

Ok, so I went to Intel and found this pdf "Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2: Instruction Set Reference, A-Z" (what a title!)

It is the newest I could find. It describes what we are using (shufps) as "128-bit Legacy SSE version". It is much more ordered and sorted and formulated, but it is even more confusing for me. And good luck finding the IMM8 bitmasks! They just refer to it as "provides 4 select controls for each element of the destination" :roll:

You will find it on page 1274ff

https://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: do the Shufps

Postby deraudrl » Thu May 20, 2021 4:35 pm

HughBanton wrote:Is all Intel documentation written like this? .. it could easily confuse a stupid person :roll:

Yes. That's not a bug, it's a feature. 8-)

(Still better than Unix/Solaris 'man' pages though...)
I keep a pair of oven mitts next to my computer so I don't get a concussion from slapping my forehead while I'm reading the responses to my questions.
deraudrl
 
Posts: 239
Joined: Thu Nov 28, 2019 9:12 pm
Location: SoCal

Previous

Return to DSP

Who is online

Users browsing this forum: No registered users and 68 guests