diff --git a/ComputeGraph/cg/static/nodes/cpp/OverlapAndAdd.h b/ComputeGraph/cg/static/nodes/cpp/OverlapAndAdd.h index 19a9b3b5..e59a521d 100644 --- a/ComputeGraph/cg/static/nodes/cpp/OverlapAndAdd.h +++ b/ComputeGraph/cg/static/nodes/cpp/OverlapAndAdd.h @@ -34,7 +34,7 @@ template class OverlapAdd: public GenericNode { public: - OverlapAdd(FIFOBase &src,FIFOBase &dst):GenericNode(src,dst) + OverlapAdd(FIFOBase &src,FIFOBase &dst):GenericNode(src,dst) { static_assert((windowSize-overlap)>0, "Overlap is too big"); memory.resize(overlap); diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c b/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c index b257af9d..89db0f21 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_q15.c @@ -58,7 +58,6 @@ void arm_absmax_no_idx_q15( q15_t const *pSrcVec; uint16x8_t curExtremValVec = vdupq_n_u16(Q15_ABSMIN); uint16_t maxValue = Q15_ABSMIN; - mve_pred16_t p0; pSrcVec = (q15_t const *) pSrc; diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c b/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c index 020106cf..0b0f8684 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_q31.c @@ -58,7 +58,6 @@ void arm_absmax_no_idx_q31( q31_t const *pSrcVec; uint32x4_t curExtremValVec = vdupq_n_u32(Q31_ABSMIN); uint32_t maxValue = Q31_ABSMIN; - mve_pred16_t p0; pSrcVec = (q31_t const *) pSrc; diff --git a/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c b/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c index f868e642..8d0fbdf9 100755 --- a/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c +++ b/Source/StatisticsFunctions/arm_absmax_no_idx_q7.c @@ -62,7 +62,6 @@ void arm_absmax_no_idx_q7( q7_t const *pSrcVec; uint8x16_t curExtremValVec = vdupq_n_u8(Q7_ABSMIN); uint8_t maxValue = Q7_ABSMIN; - mve_pred16_t p0; pSrcVec = (q7_t const *) pSrc; diff --git a/Testing/Source/Tests/StatsTestsQ31.cpp b/Testing/Source/Tests/StatsTestsQ31.cpp index bbce2e97..603bd5af 100755 --- a/Testing/Source/Tests/StatsTestsQ31.cpp +++ b/Testing/Source/Tests/StatsTestsQ31.cpp @@ -923,4 +923,5 @@ a double precision computation. void StatsTestsQ31::tearDown(Testing::testID_t id,Client::PatternMgr *mgr) { (void)id; + (void)mgr; } diff --git a/Testing/cmsis_build/quicktest.bat b/Testing/cmsis_build/quicktest.bat index c58a9b45..0a62a120 100644 --- a/Testing/cmsis_build/quicktest.bat +++ b/Testing/cmsis_build/quicktest.bat @@ -1,7 +1,7 @@ ECHO OFF ECHO "Gen Test" cd .. -python processTests.py -f Output.pickle -e SupportBarTestsF32 +python processTests.py -f Output.pickle -e StatsTests cd cmsis_build ECHO "Build" diff --git a/Testing/cmsis_build/test.Release+FVP_A5Neon.cprj b/Testing/cmsis_build/test.Release+FVP_A5Neon.cprj index d6295941..a9277dba 100644 --- a/Testing/cmsis_build/test.Release+FVP_A5Neon.cprj +++ b/Testing/cmsis_build/test.Release+FVP_A5Neon.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXA ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+FVP_A7Neon.cprj b/Testing/cmsis_build/test.Release+FVP_A7Neon.cprj index 7ff92616..484fe875 100644 --- a/Testing/cmsis_build/test.Release+FVP_A7Neon.cprj +++ b/Testing/cmsis_build/test.Release+FVP_A7Neon.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXA ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+FVP_A9Neon.cprj b/Testing/cmsis_build/test.Release+FVP_A9Neon.cprj index 6ad2e02e..ec0aa84b 100644 --- a/Testing/cmsis_build/test.Release+FVP_A9Neon.cprj +++ b/Testing/cmsis_build/test.Release+FVP_A9Neon.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXA ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+FVP_M55.cprj b/Testing/cmsis_build/test.Release+FVP_M55.cprj index b120f077..8c73223a 100644 --- a/Testing/cmsis_build/test.Release+FVP_M55.cprj +++ b/Testing/cmsis_build/test.Release+FVP_M55.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT-Corstone-300.cprj b/Testing/cmsis_build/test.Release+VHT-Corstone-300.cprj index 4a3b90ab..e9381ec6 100644 --- a/Testing/cmsis_build/test.Release+VHT-Corstone-300.cprj +++ b/Testing/cmsis_build/test.Release+VHT-Corstone-300.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -18,8 +18,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT-Corstone-310.cprj b/Testing/cmsis_build/test.Release+VHT-Corstone-310.cprj index f4d59deb..28683bbc 100644 --- a/Testing/cmsis_build/test.Release+VHT-Corstone-310.cprj +++ b/Testing/cmsis_build/test.Release+VHT-Corstone-310.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -18,8 +18,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT_M0P.cprj b/Testing/cmsis_build/test.Release+VHT_M0P.cprj index 652c074c..72cd0129 100644 --- a/Testing/cmsis_build/test.Release+VHT_M0P.cprj +++ b/Testing/cmsis_build/test.Release+VHT_M0P.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT_M23.cprj b/Testing/cmsis_build/test.Release+VHT_M23.cprj index 769211d0..8d753928 100644 --- a/Testing/cmsis_build/test.Release+VHT_M23.cprj +++ b/Testing/cmsis_build/test.Release+VHT_M23.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT_M3.cprj b/Testing/cmsis_build/test.Release+VHT_M3.cprj index c65681f7..c420c5fb 100644 --- a/Testing/cmsis_build/test.Release+VHT_M3.cprj +++ b/Testing/cmsis_build/test.Release+VHT_M3.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT_M33.cprj b/Testing/cmsis_build/test.Release+VHT_M33.cprj index e4dd2289..1f3e1fae 100644 --- a/Testing/cmsis_build/test.Release+VHT_M33.cprj +++ b/Testing/cmsis_build/test.Release+VHT_M33.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT_M4.cprj b/Testing/cmsis_build/test.Release+VHT_M4.cprj index c2a8f02e..f16020aa 100644 --- a/Testing/cmsis_build/test.Release+VHT_M4.cprj +++ b/Testing/cmsis_build/test.Release+VHT_M4.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT_M7.cprj b/Testing/cmsis_build/test.Release+VHT_M7.cprj index 5d306b3d..67f400e8 100644 --- a/Testing/cmsis_build/test.Release+VHT_M7.cprj +++ b/Testing/cmsis_build/test.Release+VHT_M7.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/test.Release+VHT_M7_UNROLLED.cprj b/Testing/cmsis_build/test.Release+VHT_M7_UNROLLED.cprj index 40a71fc7..01d45c6e 100644 --- a/Testing/cmsis_build/test.Release+VHT_M7_UNROLLED.cprj +++ b/Testing/cmsis_build/test.Release+VHT_M7_UNROLLED.cprj @@ -1,6 +1,6 @@ - + Automatically generated project @@ -17,8 +17,8 @@ - - + + EMBEDDED;NORMALFVP;CORTEXM;ARM_MATH_LOOPUNROLL ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests diff --git a/Testing/cmsis_build/testac6.csolution.yml b/Testing/cmsis_build/testac6.csolution.yml index 337bdec0..c533feb7 100644 --- a/Testing/cmsis_build/testac6.csolution.yml +++ b/Testing/cmsis_build/testac6.csolution.yml @@ -2,10 +2,20 @@ solution: compiler: AC6 misc: - C: + - -Wsign-compare + - -Wdouble-promotion + - -DNDEBUG + - -Wall + - -Wextra + - -Werror - -std=c11 - -Ofast - -ffast-math - CPP: + - -fno-rtti + - -DNDEBUG + - -Wall + - -Wextra - -std=c++11 - -Ofast - -ffast-math diff --git a/Testing/testmain.cpp b/Testing/testmain.cpp index c75bde4b..e41f6afc 100644 --- a/Testing/testmain.cpp +++ b/Testing/testmain.cpp @@ -24,7 +24,7 @@ using namespace std; // Reference patterns are ignored in this case. #include "TestDrive.h" -extern "C" void testmain_hook (void) __attribute__ ((weak)); +extern "C" void testmain_hook(void) __attribute__ ((weak)); void testmain_hook(void) {