MIPS vs Arm
A number of differences between MIPS and ARM can be identified though both are in the same family of instruction sets. For that matter, MIPS and ARM are two instruction set architectures (ISA) that are available in the world of微处理器。ARM和MIP都基于减少的指令集计算(RISC),它们处于登记注册类型。这两个说明集都有32位/64位固定指令大小(地址空间),并且两个指令集都可以配置为大的endianness以及少量的endianness。两种体系结构都支持向后兼容。ARM和MIP的体系结构都用于智能手机和平板电脑的处理器,例如iPhone,Android和Windows RT平板电脑,但不在主流计算机(例如笔记本电脑和服务器)中。
什么是手臂?
臂的主要设计师ISA是ARM Holdings。手臂architecture was introduced in 1985 and designed based on RISC. This ISA uses conditional codes in branching. There are several ARM architectures such as 64/32 bit architectures, 32-bit architectures (cortex) and 32-bit architectures (legacy). ARM is the most widely used instruction set architecture in the world. Arm instruction set can be divided in to six broad classes of instructions such as Branch instructions, Data-processing instructions, Load and store instruction, Coprocessor instructions and Exception-generating instructions. Different types of ARM instructions can be identified using the opcode and the conditional flags. There are 16 general purpose registers called R0 to R15 in the ARM ISA and each has a size of 32-bits. R13 register is called Stack Pointer (SP), R14 is called Link Register (LR) and R15 is called Program Counter (PC). ARM ISA supports many arithmetic operations such as add, subtraction, and multiplication. ARM内核有32位地址巴士,提供一个平坦的4GB线性地址空间。内存在字节中解决,可以作为双词(8个字),单词(4个字)或半词(2 bytes)访问。
手臂架构用于智能手机,平板电脑PDAand other mobile devices. ARM chips are also used in Raspberry Pi, BeagleBoard,PandaBoard and other single-board computers because of their little power consumption, cheapness and smaller shape.
什么是mips?
MIPS是由MIPS Technologies在1981年设计和介绍的。ISA也基于RISC指令集体系结构,并具有固定的编码系统。条件寄存器用于分支,MDMX,MIPS-3D用作扩展。MIPS指令有三种类型,它们是R,I和J。每个说明都以6位操作码开始。在R类型指令中,有三个寄存器,一个移位安装字段和一个功能字段。在I类型指令中,有两个寄存器和一个16位的值,而J类型说明遵循26位跳跃目标的OPODE。MIPS有32个整数寄存器,以执行算术操作。注册$ 0保留0,注册$ 1通常保留给assembler。
MIPS架构用于制造智能手机,晚餐计算机,嵌入式系统,例如routers,,,,residential gateways, and video consoles such as索尼游戏站。
MIPS和ARM有什么区别?
• MIPS and ARM are two different instruction set architectures in the family of RISC instruction set.
•尽管这两个指令集都有固定和相同的指令大小,但ARM只有16个寄存器,而MIPS有32个寄存器。
•手臂高吞吐量而且比MIP的效率很高,因为ARM处理器支持核心与核心之间的64位数据总线缓存。
•为了允许有效的上下文切换,MIPS体系结构支持多个寄存器银行的实现。ARM仅提供算术操作和所有其他功能的通用寄存器,但MIPS提供了两个独立的寄存器来保留乘法的结果。
•MIPS没有对ARM MOV指导的等效指导。
•MIPS添加指令通常会在溢出上产生异常,因此与手臂相比,它很少使用。
•所有ARM数据处理指令默认设置了ALU条件代码,但MIPS提供了SLT以进行比较。
概括:
MIPS vs Arm
In the world of microprocessors, MIPS and ARM do a great service on behalf of their instruction set architectures. MIPSis implemented primarily in embedded systems. But, at present, ARM has become much more popular in the industry than MIPS.
Images Courtesy:
- 惠普Packard PSC-1315打印机中的手臂处理器经过Socram8888((CC BY 2.0)
- Bottom-side view of package of R4700经过迪尔((CC BY-SA 3.0)
Leave a Reply