This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP430FR6007:MSP430FR6007 LEA 整数矩阵运算

Guru**** 1133870 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1256022/msp430fr6007-msp430fr6007-lea-integers-matrix-operation

器件型号:MSP430FR6007

您好,

为了实现两个矩阵的乘法、LEA 需要加快速度。 现在的问题是、矩阵中的数据都是整数。 是否可以通过 LEA 外设来实现它? 是否有可供参考的示例代码?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您是否已访问过 MSP DSP 库? 它具有用于矩阵和矢量添加、乘法等的 API、并将使用器件上可用的 LEA。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    问题在于、假定数据为一种可用的定点格式。 这会导致位移位以固定乘法和除法运算后的二进制点。 与简单整数不兼容。