|
ESP-IDF Firmware
Firmware architecture and call graph
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "dsp_common.h"#include "dspm_mult.h"Go to the source code of this file.
Macros | |
| #define | M 4 |
| #define | N 8 |
| #define | K 16 |
Functions | |
| void | xt_iss_profile_disable () |
| void | xt_iss_profile_enable () |
| void | test_mmult () |
Variables | |
| const int | m = 4 |
| const int | n = 8 |
| const int | k = 16 |
| float | A [4][8] |
| float | B [8][16] |
| float | C [4][16] |
| float | C_compare [4][16] |
| #define K 16 |
Definition at line 14 of file test_mmult.c.
Referenced by ekf::UpdateRef().
| #define M 4 |
Definition at line 12 of file test_mmult.c.
| #define N 8 |
Definition at line 13 of file test_mmult.c.
Referenced by dsps_bit_rev2r_fc32(), dsps_bit_rev4r_direct_fc32_ansi(), dsps_bit_rev4r_fc32(), dsps_bit_rev4r_fc32_ae32(), dsps_bit_rev4r_sc16_ansi(), dsps_bit_rev_fc32_ansi(), dsps_bit_rev_lookup_fc32_aes3(), dsps_bit_rev_sc16_ansi(), dsps_cplx2real256_fc32_ansi(), dsps_cplx2real_fc32_ae32_(), dsps_cplx2real_fc32_ansi_(), dsps_cplx2real_sc16_ansi(), dsps_cplx2reC_fc32_ansi(), dsps_cplx2reC_sc16(), dsps_dct_f32(), dsps_dct_f32_ref(), dsps_dct_inv_f32(), dsps_dct_inverce_f32_ref(), dsps_fft2r_fc32_ae32_(), dsps_fft2r_fc32_aes3_(), dsps_fft2r_fc32_ansi_(), dsps_fft2r_fc32_arp4_(), dsps_fft2r_sc16_ae32_(), dsps_fft2r_sc16_aes3_(), dsps_fft2r_sc16_ansi_(), dsps_fft2r_sc16_arp4_(), dsps_fft4r_fc32_ae32_(), dsps_fft4r_fc32_aes3_(), dsps_fft4r_fc32_arp4_(), dsps_fir_f32_ansi(), dsps_fird_f32_ansi(), dsps_fird_init_f32(), dsps_gen_bitrev2r_table(), dsps_gen_bitrev4r_table(), dsps_gen_w_r2_fc32(), dsps_gen_w_r2_sc16(), reverse(), reverse_sc16(), test_fft2r(), and test_iir_biquad().
| void test_mmult | ( | ) |
Definition at line 25 of file test_mmult.c.
References A, B, C, C_compare, dspm_mult_f32_ae32(), dspm_mult_f32_aes3(), k, m, n, xt_iss_profile_disable(), and xt_iss_profile_enable().
Referenced by main().
|
extern |
|
extern |
| float A[4][8] |
Definition at line 20 of file test_mmult.c.
Referenced by dspm::Mat::augment(), dspm::Mat::bandSolve(), dspm_mult_3x3x1_f32_ae32(), dspm_mult_3x3x3_f32_ae32(), dspm_mult_4x4x1_f32_ae32(), dspm_mult_4x4x4_f32_ae32(), dspm_mult_ex_f32_ae32(), dspm_mult_ex_f32_aes3(), dspm_mult_ex_f32_ansi(), dspm_mult_ex_f32_arp4(), dspm_mult_f32_ae32(), dspm_mult_f32_aes3(), dspm_mult_f32_ansi(), dspm_mult_f32_arp4(), dspm_mult_s16_ae32(), dspm_mult_s16_aes3(), dspm_mult_s16_ansi(), dspm_mult_s16_arp4(), dsps_biquad_gen_highShelf_f32(), dsps_biquad_gen_lowShelf_f32(), dsps_biquad_gen_notch_f32(), dspm::operator/(), dspm::operator>>(), dspm::Mat::roots(), dspm::Mat::solve(), and test_mmult().
| float B[8][16] |
Definition at line 21 of file test_mmult.c.
Referenced by dspm::Mat::augment(), dspm_mult_3x3x1_f32_ae32(), dspm_mult_3x3x3_f32_ae32(), dspm_mult_4x4x1_f32_ae32(), dspm_mult_4x4x4_f32_ae32(), dspm_mult_ex_f32_ae32(), dspm_mult_ex_f32_aes3(), dspm_mult_ex_f32_ansi(), dspm_mult_ex_f32_arp4(), dspm_mult_f32_ae32(), dspm_mult_f32_aes3(), dspm_mult_f32_ansi(), dspm_mult_f32_arp4(), dspm_mult_s16_ae32(), dspm_mult_s16_aes3(), dspm_mult_s16_ansi(), dspm_mult_s16_arp4(), dspm::operator/(), dspm::Mat::operator/=(), dspm::operator>>(), and test_mmult().
| float C[4][16] |
Definition at line 22 of file test_mmult.c.
Referenced by dspm_addc_f32_ae32(), dspm_addc_f32_ansi(), dspm_mulc_f32_ae32(), dspm_mulc_f32_ansi(), dspm_mult_3x3x1_f32_ae32(), dspm_mult_3x3x3_f32_ae32(), dspm_mult_4x4x1_f32_ae32(), dspm_mult_4x4x4_f32_ae32(), dspm_mult_ex_f32_ae32(), dspm_mult_ex_f32_aes3(), dspm_mult_ex_f32_ansi(), dspm_mult_ex_f32_arp4(), dspm_mult_f32_ae32(), dspm_mult_f32_aes3(), dspm_mult_f32_ansi(), dspm_mult_f32_arp4(), dspm_mult_s16_ae32(), dspm_mult_s16_aes3(), dspm_mult_s16_ansi(), dspm_mult_s16_arp4(), dsps_addc_f32_ae32(), dsps_addc_f32_ansi(), dsps_mulc_f32_ae32(), dsps_mulc_f32_ansi(), dsps_mulc_s16_ae32(), dsps_mulc_s16_ansi(), dspm::operator+(), dspm::Mat::operator+=(), dspm::operator-(), dspm::Mat::operator-=(), dspm::operator>>(), and test_mmult().
| float C_compare[4][16] |
Definition at line 23 of file test_mmult.c.
Referenced by test_mmult().
| const int k = 16 |
Definition at line 18 of file test_mmult.c.
Referenced by apply_complex_cutoff(), dspm::Mat::bandSolve(), dspm::Mat::det(), dspm_mult_4x4x4_f32_ae32(), dspm_mult_ex_f32_ae32(), dspm_mult_ex_f32_aes3(), dspm_mult_ex_f32_arp4(), dspm_mult_f32_ae32(), dspm_mult_f32_aes3(), dspm_mult_f32_ansi(), dspm_mult_f32_arp4(), dspm_mult_s16_ae32(), dspm_mult_s16_aes3(), dspm_mult_s16_ansi(), dspm_mult_s16_arp4(), dsps_bit_rev_fc32_ansi(), dsps_bit_rev_sc16_ansi(), dsps_ccorr_f32_ansi(), dsps_conv_f32_ansi(), dsps_cplx2real_fc32_ansi_(), dsps_cplx2real_sc16_ansi(), dsps_fft4r_fc32_ansi_(), dsps_fird_f32_ansi(), dsps_gen_bitrev2r_table(), dspm::Mat::gaussianEliminate(), dspm::Mat::roots(), dspm::Mat::rowReduceFromGaussian(), dspm::Mat::solve(), test_mmult(), and ekf::Update().
| const int m = 4 |
Definition at line 16 of file test_mmult.c.
Referenced by dspi_conv_f32_ansi(), dspm_mult_4x4x4_f32_ae32(), dspm_mult_ex_f32_ae32(), dspm_mult_ex_f32_aes3(), dspm_mult_ex_f32_arp4(), dspm_mult_f32_ae32(), dspm_mult_f32_aes3(), dspm_mult_f32_ansi(), dspm_mult_f32_arp4(), dspm_mult_s16_ae32(), dspm_mult_s16_aes3(), dspm_mult_s16_ansi(), dspm_mult_s16_arp4(), dsps_corr_f32_ansi(), dsps_fft2r_fc32_ansi_(), dsps_fft2r_sc16_ansi_(), dsps_fft4r_fc32_ansi_(), dsps_firmr_f32_ansi(), dsps_firmr_s16_ansi(), dspm::Mat::expHelper(), dspm::Mat::Mat(), dspm::operator*(), dspm::operator*(), dspm::Mat::operator*=(), dspm::operator+(), dspm::Mat::operator+=(), dspm::operator-(), dspm::Mat::operator-=(), dspm::operator/(), dspm::operator<<(), dspm::operator<<(), dspm::Mat::operator=(), dspm::operator>>(), dspm::operator>>(), ekf::rotm2quat(), test_mmult(), and ekf::Update().
| const int n = 8 |
Definition at line 17 of file test_mmult.c.
Referenced by dspm::Mat::cofactor(), dspm::Mat::det(), dspi_conv_f32_ansi(), dspm_mult_4x4x4_f32_ae32(), dspm_mult_ex_f32_ae32(), dspm_mult_ex_f32_aes3(), dspm_mult_ex_f32_arp4(), dspm_mult_f32_ae32(), dspm_mult_f32_aes3(), dspm_mult_f32_ansi(), dspm_mult_f32_arp4(), dspm_mult_s16_ae32(), dspm_mult_s16_aes3(), dspm_mult_s16_ansi(), dspm_mult_s16_arp4(), dsps_bit_rev_lookup_fc32_ansi(), dsps_ccorr_f32_ansi(), dsps_conv_f32_ansi(), dsps_corr_f32_ansi(), dsps_fir_f32_ansi(), dsps_fird_f32_ansi(), dsps_fird_s16_ansi(), dsps_firmr_f32_ansi(), dsps_firmr_s16_ansi(), dspm::Mat::roots(), test_mmult(), and ekf_imu13states::TestFull().