潮声隔雨深 · 2020年02月14日

这段话中N是什么意思,一直没看懂。另外circle是指令周期吗

NEON floating-point multiply instruction

VMUL.F32 Q0, Q1, D4[0]

This is a floating-point NEON vector multiply by scalar instruction. It is a multi-cycle instruction that has source operand requirements in both the first and second cycles. In the first cycle, Source1, in this case Q1Lo or D2, is required in N2. Source2, in this case D4, is required in N1. In the second cycle, Source1, in this case Q1Hi or D3, is required in N2. The result of the multiply, stored in Q0 for this case, is available in N5 for the next instruction that requires this register as a source operand. The low half of the result, Q0Lo or D0, is calculated in the first cycle. The high half of the result, Q0Hi or D1, is calculated in the second cycle. Assuming no data hazards, the instruction takes a minimum of two cycles to execute as indicated by the value in the Cycles column.

1 个回答 得票排序 · 时间排序
一知半解 · 2020年02月14日

我看到这里的内容是neon programmer guide中的某一节。手册里的N1, N2确实没有说清楚。我只是猜测N1应该指NEON unit的pipeline中的第一个stage,N2指第二个stage。

Cycle是指指令周期。

你的回答