1Title: Shared DSP Support 2 3Description: 4 5This test is only for ARC targets and uses two tasks to: 6 7 1) Test load and store dsp registers (including arch specific registers) 8 2) compute complex vector product and check for any errors 9 10This tests the ability of tasks to safely share dsp hardware 11resources, even when switching occurs preemptively (note that both sets of 12tests run concurrently even though they report their progress at different 13times). 14 15The demonstration utilizes semaphores, round robin scheduling, DSP and XY 16memory support. 17 18-------------------------------------------------------------------------------- 19 20Sample Output: 21 22Running TESTSUITE dsp_sharing 23=================================================================== 24START - test_load_store 25Load and store OK after 0 (high) + 84 (low) tests 26Load and store OK after 100 (high) + 11926 (low) tests 27Load and store OK after 200 (high) + 23767 (low) tests 28Load and store OK after 300 (high) + 35607 (low) tests 29Load and store OK after 400 (high) + 47448 (low) tests 30Load and store OK after 500 (high) + 59287 (low) tests 31 PASS - test_load_store in 10.18 seconds 32=================================================================== 33START - test_calculation 34complex product calculation OK after 50 (high) + 63297 (low) tests (computed -160) 35complex product calculation OK after 150 (high) + 188138 (low) tests (computed -160) 36complex product calculation OK after 250 (high) + 312972 (low) tests (computed -160) 37complex product calculation OK after 350 (high) + 437806 (low) tests (computed -160) 38complex product calculation OK after 450 (high) + 562639 (low) tests (computed -160) 39 PASS - test_calculation in 10.16 seconds 40=================================================================== 41TESTSUITE dsp_sharing succeeded 42=================================================================== 43PROJECT EXECUTION SUCCESSFUL 44