From 72d6ccb7bf0ed5c7d3a0fb199d852d59ff31e85b Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Mon, 20 Nov 2023 14:22:41 +0100 Subject: [PATCH] Updated test script to check CS300 without MVE. --- Testing/cmsis_build/.gitignore | 2 +- Testing/cmsis_build/boot.clayer.yml | 6 + Testing/cmsis_build/runall.py | 7 +- .../test.Release+VHT-Corstone-300-NOMVE.cprj | 206 ++++++++++++++++++ .../test.Release+VHT-Corstone-300.cprj | 6 +- .../test.Release+VHT-Corstone-310.cprj | 6 +- Testing/cmsis_build/test.Release+VHT_M0P.cprj | 6 +- Testing/cmsis_build/test.Release+VHT_M23.cprj | 6 +- Testing/cmsis_build/test.Release+VHT_M3.cprj | 6 +- Testing/cmsis_build/test.Release+VHT_M33.cprj | 6 +- Testing/cmsis_build/test.Release+VHT_M4.cprj | 6 +- Testing/cmsis_build/test.Release+VHT_M7.cprj | 6 +- .../test.Release+VHT_M7_UNROLLED.cprj | 6 +- Testing/cmsis_build/test_ac6.csolution.yml | 14 +- 14 files changed, 258 insertions(+), 31 deletions(-) create mode 100644 Testing/cmsis_build/test.Release+VHT-Corstone-300-NOMVE.cprj diff --git a/Testing/cmsis_build/.gitignore b/Testing/cmsis_build/.gitignore index 4d8025bad..8bc2f7a1c 100644 --- a/Testing/cmsis_build/.gitignore +++ b/Testing/cmsis_build/.gitignore @@ -3,4 +3,4 @@ results*.txt *.html *.cbuild.yml *.cbuild-idx.yml - +disasm.s diff --git a/Testing/cmsis_build/boot.clayer.yml b/Testing/cmsis_build/boot.clayer.yml index de314c5df..9cb76a0e2 100644 --- a/Testing/cmsis_build/boot.clayer.yml +++ b/Testing/cmsis_build/boot.clayer.yml @@ -11,6 +11,7 @@ layer: - component: Device:Startup&C Startup not-for-context: - +VHT-Corstone-300 + - +VHT-Corstone-300-NOMVE - +VHT-Corstone-310 - +FVP_A5Neon - +FVP_A7Neon @@ -33,10 +34,12 @@ layer: - component: ARM::Device:Definition for-context: - +VHT-Corstone-300 + - +VHT-Corstone-300-NOMVE - +VHT-Corstone-310 - component: ARM::Device:Startup&Baremetal for-context: - +VHT-Corstone-300 + - +VHT-Corstone-300-NOMVE - +VHT-Corstone-310 - component: ARM::Native Driver:DMA350 Remap for-context: @@ -44,12 +47,15 @@ layer: - component: ARM::Native Driver:Timeout for-context: - +VHT-Corstone-300 + - +VHT-Corstone-300-NOMVE - +VHT-Corstone-310 - component: ARM::Native Driver:SysCounter for-context: - +VHT-Corstone-300 + - +VHT-Corstone-300-NOMVE - +VHT-Corstone-310 - component: ARM::Native Driver:SysTimer for-context: - +VHT-Corstone-300 + - +VHT-Corstone-300-NOMVE - +VHT-Corstone-310 diff --git a/Testing/cmsis_build/runall.py b/Testing/cmsis_build/runall.py index 1c4bd69db..5219af05a 100644 --- a/Testing/cmsis_build/runall.py +++ b/Testing/cmsis_build/runall.py @@ -195,6 +195,11 @@ def runAVH(build,core): #allSuites=[("StatsTestsQ7","../Output.pickle")] +allSuites=[ +("ComplexTestsF16","../Output_f16.pickle"), +#("FIRF16","../Output_f16.pickle") +] + # Solution and build file for all # the tests # It is a pair : csolution target type and AVH identification @@ -228,7 +233,7 @@ def runAVH(build,core): # Override previous solutions for more restricted testing. solutions={ 'test_ac6.csolution.yml':[ - ("VHT-Corstone-300","CS300"), + ("VHT-Corstone-300-NOMVE","CS300"), ] } diff --git a/Testing/cmsis_build/test.Release+VHT-Corstone-300-NOMVE.cprj b/Testing/cmsis_build/test.Release+VHT-Corstone-300-NOMVE.cprj new file mode 100644 index 000000000..eec61c2d8 --- /dev/null +++ b/Testing/cmsis_build/test.Release+VHT-Corstone-300-NOMVE.cprj @@ -0,0 +1,206 @@ + + + + + + Automatically generated project + + + + + + + + + + + + + + + + + + + EMBEDDED;CORTEXM;SSE300MPS3;ARM_MATH_AUTOVECTORIZE + ../../Include;../../PrivateInclude;../FrameworkInclude;../GeneratedInclude;../Include/Tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ARM_MATH_ROUNDING + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Testing/cmsis_build/test.Release+VHT-Corstone-300.cprj b/Testing/cmsis_build/test.Release+VHT-Corstone-300.cprj index 3730032d6..713ef0868 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 @@ -12,12 +12,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT-Corstone-310.cprj b/Testing/cmsis_build/test.Release+VHT-Corstone-310.cprj index d7f1c88c9..dcc63502d 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 @@ -13,12 +13,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT_M0P.cprj b/Testing/cmsis_build/test.Release+VHT_M0P.cprj index 565e270d8..40755689a 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 @@ -11,12 +11,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT_M23.cprj b/Testing/cmsis_build/test.Release+VHT_M23.cprj index 1dbf7ff76..49ba7acc5 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 @@ -11,12 +11,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT_M3.cprj b/Testing/cmsis_build/test.Release+VHT_M3.cprj index f27d738d0..c565fd178 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 @@ -11,12 +11,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT_M33.cprj b/Testing/cmsis_build/test.Release+VHT_M33.cprj index 327171086..3f1703bc6 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 @@ -11,12 +11,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT_M4.cprj b/Testing/cmsis_build/test.Release+VHT_M4.cprj index c44605c8a..48dc49f78 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 @@ -11,12 +11,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT_M7.cprj b/Testing/cmsis_build/test.Release+VHT_M7.cprj index e1d9593cd..fc13298b1 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 @@ -11,12 +11,12 @@ - + - + diff --git a/Testing/cmsis_build/test.Release+VHT_M7_UNROLLED.cprj b/Testing/cmsis_build/test.Release+VHT_M7_UNROLLED.cprj index f65a85a28..d2ad2ccc0 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 @@ -11,12 +11,12 @@ - + - + diff --git a/Testing/cmsis_build/test_ac6.csolution.yml b/Testing/cmsis_build/test_ac6.csolution.yml index 875349eb8..d4ed7af02 100644 --- a/Testing/cmsis_build/test_ac6.csolution.yml +++ b/Testing/cmsis_build/test_ac6.csolution.yml @@ -1,5 +1,5 @@ solution: - compiler: AC6@6.20.100 + compiler: AC6@6.22.0 misc: - C: - -Wsign-compare @@ -68,6 +68,16 @@ solution: - CORTEXM - SSE300MPS3 + - type: VHT-Corstone-300-NOMVE + device: ARM::SSE-300-MPS3 + misc: + - C: + - -mcpu=cortex-m55+nomve + define: + - CORTEXM + - SSE300MPS3 + - ARM_MATH_AUTOVECTORIZE + - type: VHT_M33 device: ARMCM33_DSP_FP define: @@ -112,7 +122,7 @@ solution: build-types: - type: Release - debug: off + debug: on projects: - project: ./test.cproject.yml \ No newline at end of file