ARM与x86的主要区别是什么? [英] ARM vs x86 What are the key differences?

查看:280
本文介绍了ARM与x86的主要区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不太想知道小写"在每个平台上开发代码的区别,这些区别包括程序员习惯于什么或他觉得更容易做等.对详细内容,我也不感兴趣.核心中的物理差异(如果适合您的叙述,我不介意提及它们,我只是不想着重于上述内容)

I am not so much interested to know about the "small print" the differences while developing code on each platform in terms of what a programmer is used to or what he finds easier to do etc. Nor am I interested in the detailed physical differences in the core (I dont mind them to be mentioned if it suits your narrative I just dont want to focus on the above)

我只是在寻找为何x86之类的CISC体系结构优于RISC体系结构?

I am just searching about why CISC architecture such as the x86 is superior to RISC architecture or is it not?

我的意思是,如果您能够在降低复杂性(RISC)的同时做所有事情,那么为什么要成为复杂"(CISC)

I mean why to be "Complex" (CISC) if you can do everything just as well with being Reduced in complexity (RISC)

是否存在x86可以做到ARM无法做到的事情?如果没有任何内容,那为什么我们(历来)为开发CISC而又不专注于RISC感到烦恼呢?

Is there something that x86 can do that ARM can not? if there isnt anything then why did we bother (historically) on developing CISC and didnt focus on RISC?

如今,ARM似乎已经完成了英特尔计算机的所有工作,甚至拥有面向服务器的设计...

Today ARM seems to do everything an Intel computer does they even have server oriented designs...

它使我叔叔感到震惊.

推荐答案

您正在尝试重新开始20年前结束的辩论. ARM不再是RISC,x86不再是CISC.

You're trying to re-start a debate that ended 20 years ago. ARM is not RISC anymore and x86 is not CISC anymore.

那就是说,CISC的原因很简单:如果您每秒可以执行100.000条指令,则对于给定任务需要最少指令的CPU将获胜.一条复杂的指令比两条简单的指令要好.

That said, the reason for CISC was simple: if you could execute 100.000 instructions per second, the CPU which needed the least instructions for a given task would win. One complex instruction would be better than 2 simple instructions.

RISC基于以下观察:随着CPU的速度越来越快,指令之间所需的时间会相差很大.实际上,两条简单的指令可能比一条复杂的指令快,尤其是当您针对简单指令优化了CPU时.

RISC is based on the observation that as CPU's became faster, the time needed would vary a lot between instructions. Two simple instructions might in fact be faster than one complex, especially when you optimized the CPU for simple instructions.

这篇关于ARM与x86的主要区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆