Can anyone refer me to linear algebra functions or libraries to do matrix multiplication, addition, and inverse?
Thanks
Matrix multiply, add, and inverse functions?
-
- Posts: 513
- Joined: Sat Apr 26, 2008 7:14 am
Re: Matrix multiply, add, and inverse functions?
See at Freescale site:
CFLMOPM : Library of Macros for Optimization Using eMAC and MAC Programmer's Manual (pdf)
This programmer's manual provides a detailed description of a set of macros used for optimizations.
http://www.freescale.com/files/32bit/do ... df?fsrch=1
CFLMOPMSW : Software for the Library of Macros for Optimization Using eMAC and MAC Programmer's Manual (zip)
Software for the CFLMOPM.
https://www.freescale.com/webapp/Downlo ... m%20search
CFLMOPM : Library of Macros for Optimization Using eMAC and MAC Programmer's Manual (pdf)
This programmer's manual provides a detailed description of a set of macros used for optimizations.
http://www.freescale.com/files/32bit/do ... df?fsrch=1
CFLMOPMSW : Software for the Library of Macros for Optimization Using eMAC and MAC Programmer's Manual (zip)
Software for the CFLMOPM.
https://www.freescale.com/webapp/Downlo ... m%20search
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
-
- Posts: 513
- Joined: Sat Apr 26, 2008 7:14 am
Re: Matrix multiply, add, and inverse functions?
Yevgenit, The Freescale mac/emac lib looks great. As I understand it, the headers are set up for Codewarrior. What's required for using them under gcc for NB? Any chance they casn just be incuded as is?
Re: Matrix multiply, add, and inverse functions?
The free converter "PortAsm/68K for ColdFire®" at
www.microapl.com/Porting/ColdFire/pacf_download.html
is able to convert most of Codewarrior conventions to gcc/gas conventions.
Unfortunately, this converter doesn't familiar with MAC and eMAC instructions of Coldfire. These instructions you will need to reformat manually.
Also, verify (and manually fix if need) compliance of the code to NB gcc/gas calling conventions.
See the NB application note "Writing Assembly Code for the NetBurner ColdFire Platform" at
http://www.netburner.com/downloads/tech ... nguage.pdf
Unfortunately, Freescale technical support cannot help to verify the library code for bugs.
Possibly, the authors of the library are not available. Thus, check yourself the converted library code for the bugs.
www.microapl.com/Porting/ColdFire/pacf_download.html
is able to convert most of Codewarrior conventions to gcc/gas conventions.
Unfortunately, this converter doesn't familiar with MAC and eMAC instructions of Coldfire. These instructions you will need to reformat manually.
Also, verify (and manually fix if need) compliance of the code to NB gcc/gas calling conventions.
See the NB application note "Writing Assembly Code for the NetBurner ColdFire Platform" at
http://www.netburner.com/downloads/tech ... nguage.pdf
Unfortunately, Freescale technical support cannot help to verify the library code for bugs.
Possibly, the authors of the library are not available. Thus, check yourself the converted library code for the bugs.
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Re: Matrix multiply, add, and inverse functions?
Ridgeglider,
I intend to prepare complete detailed and tested example of the porting for at least one of the eMAC functions.
Due to my regular work load, it will possibly take a few days.
In case of you have any specific question, I will answer more quickly.
Unfortunately, you doesn't permit to send you the private message.
I intend to prepare complete detailed and tested example of the porting for at least one of the eMAC functions.
Due to my regular work load, it will possibly take a few days.
In case of you have any specific question, I will answer more quickly.
Unfortunately, you doesn't permit to send you the private message.
Yevgeni Tunik
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Embedded/RealTime software engineer
https://www.linkedin.com/in/yevgenitunik/
________________________
Re: Matrix multiply, add, and inverse functions?
You might also check some of Jack Crenshaw's articles on embedded.com. He's always coming up with matrix manipulation C code in his articles. Probably can find source code links too.