MMX programming Materials Collection
PC Assembly tutorial, by Paul Carter
Intel architecture software developer's Manual Volume 1: Basic architecture, by Intel
Intel architecture software developer's Manual Volume 2: instruction set reference, by Intel
Intel architecture optimization reference manual, by Intel
AMD processor recognition application note, by AMD
AMD athlon processor x86 code optimization Guide, by AMD
Introduction to
Q: seafrog: Hello, I have seen two articles you translated on MMX and SSE programming. However, they are all used in Visual Studio. NET. I want to use it in Visual C ++. the header files emmintrin. h and xmmintrin. h cannot be found on my machine. I have installed visual c ++ on my machine. Do I need to download the packages from Intel's website and decompress them before these two files are available? What package does it need to download? How can I
them should be a review of your previous study! I also wish to my fellow citizens who have fought together! Come on!
In 2014, I had a lot of conversations with my mom, and my mind was relaxed. The efficiency of a non-stressful study had actually increased! A problem that can be solved through communication is not a problem. More communication, more communication, and opening your mind can help your next growth!
In the autumn of September, the harvest season was recorded here, to record past mem
Computer ORGANIZATION and ARCHITECTURE designing for performance ninth EDITIONTo understand the structure of the linear address, you need to know thatthe Pentium II paging mechanism is actually a two- Level table lookup operation. The first level was a page directory, which contains up to 1024x768 entries. This splits the4-gbyte linear memory space into the 1024x768 page groups, each and its own page Table,and each 4 Mbytes in length . Each page table
// This Code does not need to consider the data alignment problem when using the division and control method (if complicated), Len is also an even number, so there is no need to check the Len with an odd number. It is not as fast as the general method, and it is very small. Here, we only provide another idea, which I originally wrote, if you have a better method, please let us know
// DEST = A-B, DEST, A, and B are all at the top and at the bottom, that is, Dest [0] indicates the highest digit o
// This Code does not need to consider the data alignment problem when using the division and control method (if complicated), Len is also an even number, so there is no need to check the Len with an odd number. It is not as fast as the general method, and it is very small. Here, we only provide another idea, which I originally wrote, if you have a better method, please let us know
// DEST = a + B, DEST, A, and B are all at the top and at the bottom, that is, Dest [0] indicates the highest digit
Author: zyl910
For more details, see --Http://www.cnblogs.com/zyl910/archive/2012/04/26/md00.htmlSIMD function sorting: 00 index stickers
Name: function name.Name2: Another function name.Function: function description.ASM: Assembly command.Pcode: pseudocode.
Name
Name2
Function
ASM
Pcode
_ M_empty
_ Mm_empty
MMX status is empty
Emms
_ M_from_int
_ Mm_cvtsi32_si64
Load 32-bit
This article describes a method based on DirectX MMX to implement image grayscale processing, to compile this program need DirectX SDK5.0, code required ddutil.h and ddutil.cpp files, please download the project. Compiled in a WINDOWNT4.0+SP3 environment, the code has been collated and contains comments. as follows:
#include
Interested friends can debug run the example of this article, I believe that you will be in C + + project development
Since the initial value of the dynamic array in Delphi is not always 0, setlength is used before each use of a one-dimensional array, and then fillchar is generally used for clearing, however, if the array is more than dozens of MB, the efficiency of fillchar is very low. For this reason, I specifically wrote some optimization code for clearing the array or memory.
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1. Use the
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Type
Pmylist = ^ tmylist;
Tmylist = array of word;
Function getminvalue (list: pmylist): word; stdcall;
VaR
Forcount, listcount, I: DWORD;
Maxvaule: int64;
List0address: DWORD;
Begin
Result: = $ 7fff;
Listcount: = high (list ^) + 1;
If (listcount
Begin
For I: = 0 to listcount-1 do
Begin
If list ^ [I]
End;
End else
Begin
Maxvaule: = $ 7fff7fff7fff7fff;
List0address: = DWORD (@ list ^ [0]);
Forcoun
There are a lot of useful documents and tutorials on Intel's WWW site. We suggest you study these documents to have a deeper understanding of the structure and instructions of the microprocessor. But I cannot give you the correct one, because the file location often changes. You can go to these two URLs to find the required documents or tools:Http://developer.intel.com orHttp://www.agner.org/assemAmong them, we are most interested in these: Intel's latest C/C ++ compiler, Intel's latest instruct
Following the listing of Intel's low-end Haswell four-generation Pentium G3430 processors, another Pentium G3220 is now in the store, and the four-generation Pentium G3220 performance is slightly weaker than the Pentium G3430, which is recommended for low-end installed users. Today, the computer Pepsi Network will be s
Intel and AMD two companies, is currently the mainstream processor manufacturers, in high-end processors, Intel's i7 series CPU performance unmatched, low-end processor or AMD, the choice of more cost-effective, Intel and AMD two companies have the advantages of the processors, technology, Intel is better, The Intel processor's manufacturing process is slightly advanced, but also has the stability slightly strong, only, these to the ordinary user, actually does not matter, does not have the hear
The documentary that has been recently recommended on csdn is also recommended after reading it. It is very resonating and authentic. Developers and entrepreneurs should take a look.
The classic passage in the film: "you dedicate yourself to a
Note: Original author Wu current Google researcher original link address: http://googlechinablog.com/2007/11/intel_15.html
5. Difficult DayDr. Peter Norwig, the dean of the Google Institute and the author of the American "artificial Intelligence"
4. Data shift command
PsllwMm, mm/M64
PsllwMm, imm8
Specify the number of digits of the destination register by words in the source memory (or imm8 immediate count)Logical left shiftThe removed bits are lost.The characters removed from the
, 586 (pentium), pentium-mmxNo one is still using 586 or the previous cpu, or even pentiumpro. While rpm is a package for i386, and the running efficiency will be much lower.The compatibility is probablyI386:I386:Iworkflow:Winchip-c6: MMX 3 dNOW!Winchip2: MMX 3 dNOW!I586 (pentium
(using the keyword _ attribute _ (regparm (3). Therefore, the parameter is passed using the common data register -- eax to pass prev_p and EDX to pass next_p.
For the analysis of the _ switch_to function, see the next article.
Save and load FPU, MMX, and XMM registers
Starting from Intel 80486dx, FPU (arithmetic floating point unit) is integrated into the CPU. floating point arithmetic functions are executed using escape commands to manipulate the fl
Pentium Pro, Pentium II, Pentium II Xeon, Pentium III and Pentium III Xeon processors. The 5th generation includes the Pentium processor and the Pentium processor using
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.