forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Math: Optimize 16-bit matrix multiplication function
Performed multiple optimization in the 16-bit matrix multiplication function. - This check-in changed accumulator data type from int64_t to int32_t , reducing the instruction cycle count by ~8.18% gain for matrix multiplication. - Enhanced pointer arithmetic within for loops - Eliminated unnecessary conditionals by directly handling Q0 data within algorithm core logic These optimization yied a ~36.31% reduction in memory usage for matrix multplication function Signed-off-by: Shriram Shastry <[email protected]>
- Loading branch information
1 parent
8fe7d36
commit 65a34cd
Showing
1 changed file
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters