I will upload my new book, "Write My Own processor" (not yet published), today is the third article. I try four articles a week.MIPS instruction set architecture since the advent of the 80 's. has been upgrading, from the initial MIPS I to MIPS V, to support the expansion module MIPS32, MIPS64 series, and integrated code compression technology microMIPS32, microMIPS64. Each MIPS Isa is a superset of its pre
AMMX Technology IntroductionIntel's MMX (multimedia enhanced instruction set) technology can greatly improve the processing power of the application for two-dimensional graphics and images. Intel MMX technology can be used for complex processing of large amounts of data and complex arrays, and the basic unit of data that can be processed using MMX technology can be byte (byte), Word (word), or double Word (
ARMV6 devices: IPhone, IPhone2, iphone3g, first generation, second generation IPod Touch ARMV7 equipment: iphone3gs, IPhone4, iphone4s ipad, IPad2, IPad3 (the New ipad), ipad Mini ipod Touch 3G, ipod Touch4 armv7s equipment: IPhone5, IPHONE5C, IPad4 (IPad with Retina Display) Arm64 devices: iphone5s, ipad Air, ipad mini2 (ipad mini with Retina Display) The options associated with the instruction set in Xcod
ARM instruction Set 2The ARM microprocessor supports load/store instructions for transferring data between registers and memory, which is used to transfer data from memory to registers and the storage instruction to do the opposite.LDR instruction (different from MOV, MOV can only operate universal Register)The LDR
above mentioned factors have some bad effects on the portability of intrinsic function code, but porting the code containing intrinsic function is undoubtedly a lot easier than inline assembly. In addition, the 64-bit platform no longer supports inline assembly.2. SSE intrinsicVS and GCC support SSE directive Intrinsic,sse have several different versions, the corresponding intrinsic is also included in the different header files, if the only one version of the SSE directive is determined to inc
Greeting (String name) {System.out.println ("Hello," +name);}}
When we compile Bootstrap.java into Bootstrap.class and execute this program, there are a few steps in the JVM's complex execution logic:
1. The JVM first loads this bootstrap.class information into the in-memory method area.
The bootstrap.class includes the constant pool information, the definition of the method, and the binary form of the machine instruction
bytecode are suffixed with names to eliminate ambiguity.
● 32-bit general-type bytecode without any suffix ● 64-bit general-type bytecode added-wide suffix
● Add a suffix for a special type of bytecode based on the specific type. They can be-Boolean,-byte,-Char,-short,-int,-long,-float,-double,-object,-string,-void.
3. According to the layout and options of bytecode, some bytecode suffixes are added to eliminate ambiguity. These suffixes are separated by adding a slash "/" to the suffix of the
comparison jump instruction);bgeza1、Bgeza11、bltza1、Bltza11(If you need, these instructions are the original machine instructions for the conditional function call); Breakpoints and trap directives: Break(Produces an exception of type "Breakpoint");SDBBP(GenerateEJTAGException breakpoint instruction);Syscall(produces a convention for the type of exception used by the system call);Teq、Teqi、Tge、Tgei、TGEIU、
Data transmission Instruction Set
MoV
Function: sends the source operand to the destination operand.
Syntax: mov destination operand, source operand
Format: mov R1, R2
MoV R, m
MoV M, R
MoV R, Data
XchgFunction: Exchange data of two operands.Syntax: xchgFormat: xchg R1, R2 xchg M, r xchg R, m
Push, popFunction: pushes the operand to or from the stack.Syntax: Push operand pop operandFormat: Push R push m pus
steps are taken in the complex JVM running logic:
1. First, the JVM will first load the Bootstrap. class information to the Method Area in the memory.
Bootstrap. class contains constant pool information, method definitions, and binary machine commands implemented by compiled methods. All threads share a method zone, the Instruction Set for reading method definitions and methods.
2. Then, JVM will creat
MIPs instruction set architecture
The instruction set architecture ISA is fully called the instruction set architecture. MIPS has been continuously expanded since it was proposed in 1988. Its ISA is roughly as follows:
MIPs IThis
The ARM7 processor has two instruction sets: 32-bit ARM instruction set, 16-bit thumb instruction set.
1> ARM Instruction set: High efficiency, high code density
2> Thumb
The arm instruction set is relatively simple. This article describes the important and difficult-to-understand aspects of arm instruction sets.
I. The arm instruction set is 32-bit, The program starts from the arm instruction
of the Java Virtual Machine is limited to one byte, and the parameter length alignment of the compiled code is discarded to obtain the short and concise compilation code, even if the JVM implementation may be paid a certain performance cost. Because the operation code can only have one byte length, the number of instruction sets is limited. It is not assumed that the data is aligned, which means that when the data exceeds one byte, you have to re-cre
When compiling the SSE optimization instruction with Qtcreator, the following error occurred.
Inlining failed in call to Always_inline ' __m128i _mm_packus_epi32 (__m128i, __m128i) ': Target specific option mismatch_MM_PACKUS_EPI32 (__m128i __x, __m128i __y)^The reason for this error is that the corresponding SSE option was not specified at compile time.Workaround: Locate the SSE instruction
When new CPUs are introduced, merchants will first describe it as a RISC instruction set. What does this mean? How many CPU features do you know from this description?
Complex Instruction Set Computer (CISC)
In the long term, the improvement of computer performance is often achieved by increasing the complexity of hard
Complex Instruction Set computers(CISC)
In the long term, the improvement of computer performance is often achieved by increasing the complexity of hardware. with the integrated circuit technology. in particular, the rapid development of the very large scale integrated circuits technology, in order to facilitate software programming and improve the speed of program operation, hardware engineers are constant
SSE technology OverviewIntel's single-instruction, multi-data stream extension (SSE, Streaming SIMD Extensions) technology can effectively enhance the capabilities of CPU floating point operations. Visual Studio. NET 2003 provides support for SSE instruction set programming, allowing you to directly use SSE commands without writing assembly code in C ++ code. The
ARM microprocessor instruction set Overview
The arm instruction set is load/storage-type. That is to say, the instruction set can only process the data in the register, and the processing results must be put back into the registe
Shimen the main contribution, respect the work of the author, please do not reprint.If the article is helpful to you, you are welcome to donate to the author, support the Shimen, donate the amount at random, ^_^I want to donate: Click DonateCocos2d-x source Download: Dot I teleportbefore each version of the IPA package is out of the 20M, and later do not know from which version rather basketball package will be nearly 40M each time, but there is no significant increase in the project of third-pa
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.