请告诉我一个好地方开始学习组装? [英] Whats a good place to start learning assembly?

查看:89
本文介绍了请告诉我一个好地方开始学习组装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要学习组装使用SSE指令,需要GCC的ASM code与C code链接。

I need to learn assembly using SSE instructions and need gcc to link the ASM code with c code.

我不知道从哪里开始和谷歌并没有帮助。

I have no idea where to start and google hasn't helped.

推荐答案

您可能要开始寻找通过英特尔的 Intel处理器软件开发人员手册的。汇编语言编码是不是一大堆的乐趣,而这通常是不必要的,除了在少数情况下,code是性能的关键。

You might want to start looking through the chip documentation from intel Intel Processor Software Developer Manuals. Assembly language coding isn't a whole lot of fun, and it's usually unneccessary except in few cases where code is performance critical.

由于你在看SSE,我敢大胆地说你的努力可以得到更好的花费寻找到CUDA,使用图形卡通过自定义着色器进行矢量计算。这样,你就不必学习ASM,如果你正在做的严重的数字运算,如果你有很好的并行化也可能会更快显著。

Given you are looking at SSE, I would hazard that your effort may be better spent looking into CUDA, using your graphics card to perform vector computations via custom shaders. That way you don't have to learn ASM, and if you are doing serious number crunching it could be significantly faster if you have good parallelisation.

这篇关于请告诉我一个好地方开始学习组装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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