mmx
Add 32-bit words with saturation
Do you know any way to add with saturation 32-bit signed words using MMX/SSE assembler instructions? I can find开发者_开发知识库 8/16 bits versions but no 32-bit ones.You can emulate saturated signed[详细]
2023-03-29 06:22 分类:问答Does Delphi support all MMX/SSE instructions?
I have this snippet of code: @combinerows: mov esi,eax and edi,Row1Mask and ebx,Row2Mask or ebx,edi //NewQ:= (Row1 and Row1Mask) or (Row2 and Row2Mask);[详细]
2023-03-14 10:14 分类:问答if/else statement in SSE intrinsics
I am trying to optimize a small piece of code with SSE intrinsics (I am a complete beginner on the topic), but I am a little stuck on the use of conditionals.[详细]
2023-03-11 21:12 分类:问答Porting MMX/SSE instructions to AltiVec
Let me preface this with.. I have extremely limited experience with ASM, and even less with SIMD. But it happens that I have the following MMX/SSE optimised code, that I would like to port across to[详细]
2023-01-28 15:47 分类:问答Concise SSE and MMX instruction reference with latencies and throughput
I am trying to optimize some arithmetic by using the MMX and SSE instruction sets with inline assembly. However, I have been unable to find good references for 开发者_运维百科the timings and usages of[详细]
2023-01-01 20:06 分类:问答Stack usage with MMX intrinsics and Microsoft C++
I have an inline assembler loop that cumulatively adds elements from an int32 data array with MMX instructions. In particular, it uses the fact that the MMX registers can accommodate 16 int32s to calc[详细]
2022-12-31 03:34 分类:问答Benefit of using multiple SIMD instruction sets simultaneously
I\'m writing a highly parallel application that\'s multithreaded. I\'ve already got an SSE accelerated thr开发者_高级运维ead class written. If I were to write an MMX accelerated thread class, then run[详细]
2022-12-30 15:19 分类:问答C/C++ usage of special CPU features
I am curious, do new compilers use some extra features built into new CPUs such as MMX SSE,3DNow! and so?[详细]
2022-12-30 09:23 分类:问答Common SIMD techniques
Where can I find information about common SIMD tricks? I have an instruction set and know, how to write non-tricky SIMD code, but I know, SIMD now is much more powerful. It can hold complex conditiona[详细]
2022-12-18 14:00 分类:问答Help with simple assembly mmx exercise
Given a vector of bytes with length multiple of 8, how can I, using mmx instructions开发者_运维技巧, convert all 2\'s to 5\'s, for example?[详细]
2022-12-18 03:49 分类:问答