上证所FPU并行 [英] SSE FPU parallel

查看:197
本文介绍了上证所FPU并行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道是否有可能在并行使用上交所的x87。因此,考虑下面的伪code,

I was wondering if it would be possible to use SSE in parallel with x87. So consider the following pseudo code,

1:sse_insn
2:x87_insn

1: sse_insn 2: x87_insn

会流水线并行执行1和2假设他们可以并行执行?

Would the pipeline execute 1 and 2 in parallel assuming they can be executed in parallel?

推荐答案

在所有现代(及以上)的处理器,使用x87和SSE指令使用相同的执行单元,因此它不太可能,你会多从这种$受益C $℃。有可能是非常特殊的情况下,你可以欺骗处理器进入运行例如并行的x87鸿沟与SSE添加,或者类似的东西,但如果你只是在做类似业务的一大圈,也几乎可以肯定没有好处。

In all modern (and older) processors, the x87 and SSE instructions use the same execution units, so it's UNLIKELY that you will benefit much from this sort of code. There may be very special cases where you can trick the processor into running for example a x87 divide in parallel with an SSE add, or something like that, but if you are simply doing a big loop of similar operations, there is almost certainly no benefit.

这篇关于上证所FPU并行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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