From f7806e12e4104b40d57c047e6ec2816a74b0c6e5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 26 Apr 2013 11:50:16 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5627 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/PPC-SPC564A-GCC/mcuconf.h | 4 +- docs/reports/SPC560B50-64.txt | 22 ++--- docs/reports/SPC560P50-64.txt | 12 +-- docs/reports/SPC563M64-80.txt | 28 +++--- docs/reports/SPC564A64-150.txt | 164 ++++++++++++++++++++++++++++++++++ docs/reports/SPC56EL60-120.txt | 16 ++-- os/hal/platforms/SPC560BCxx/hal_lld.c | 1 - os/hal/platforms/SPC560Pxx/hal_lld.c | 1 - os/hal/platforms/SPC563Mxx/hal_lld.c | 1 - os/hal/platforms/SPC564Axx/hal_lld.c | 1 - os/hal/platforms/SPC56ELxx/hal_lld.c | 1 - 11 files changed, 205 insertions(+), 46 deletions(-) create mode 100644 docs/reports/SPC564A64-150.txt diff --git a/demos/PPC-SPC564A-GCC/mcuconf.h b/demos/PPC-SPC564A-GCC/mcuconf.h index 5be76284c..9414d1f41 100644 --- a/demos/PPC-SPC564A-GCC/mcuconf.h +++ b/demos/PPC-SPC564A-GCC/mcuconf.h @@ -33,8 +33,8 @@ #define SPC5_NO_INIT FALSE #define SPC5_CLK_BYPASS FALSE #define SPC5_ALLOW_OVERCLOCK FALSE -#define SPC5_CLK_PREDIV_VALUE 8 -#define SPC5_CLK_MFD_VALUE 60 +#define SPC5_CLK_PREDIV_VALUE 2 +#define SPC5_CLK_MFD_VALUE 75 #define SPC5_CLK_RFD SPC5_RFD_DIV2 #define SPC5_FLASH_BIUCR (BIUCR_BANK1_TOO | \ BIUCR_MASTER4_PREFETCH | \ diff --git a/docs/reports/SPC560B50-64.txt b/docs/reports/SPC560B50-64.txt index b5c60ee05..d2c22581f 100644 --- a/docs/reports/SPC560B50-64.txt +++ b/docs/reports/SPC560B50-64.txt @@ -6,7 +6,7 @@ Settings: SYSCLK=64 *** ChibiOS/RT test suite *** *** Kernel: 2.5.2unstable -*** Compiled: Feb 19 2013 - 11:15:43 +*** Compiled: Apr 26 2013 - 13:25:43 *** Compiler: GCC 4.6.3 build on 2013-01-07 *** Architecture: Power Architecture *** Core Variant: e200z0 @@ -100,15 +100,15 @@ Settings: SYSCLK=64 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.1 (Benchmark, messages #1) ---- Score : 200701 msgs/S, 401402 ctxswc/S +--- Score : 200700 msgs/S, 401400 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.2 (Benchmark, messages #2) ---- Score : 167517 msgs/S, 335034 ctxswc/S +--- Score : 167515 msgs/S, 335030 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.3 (Benchmark, messages #3) ---- Score : 167519 msgs/S, 335038 ctxswc/S +--- Score : 167518 msgs/S, 335036 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.4 (Benchmark, context switch) @@ -116,15 +116,15 @@ Settings: SYSCLK=64 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.5 (Benchmark, threads, full cycle) ---- Score : 132967 threads/S +--- Score : 132691 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.6 (Benchmark, threads, create only) ---- Score : 189947 threads/S +--- Score : 189383 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.7 (Benchmark, mass reschedule, 5 threads) ---- Score : 51972 reschedules/S, 311832 ctxswc/S +--- Score : 52143 reschedules/S, 312858 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.8 (Benchmark, round robin context switching) @@ -132,19 +132,19 @@ Settings: SYSCLK=64 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.9 (Benchmark, I/O Queues throughput) ---- Score : 619280 bytes/S +--- Score : 619272 bytes/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.10 (Benchmark, virtual timers set/reset) ---- Score : 802802 timers/S +--- Score : 792852 timers/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.11 (Benchmark, semaphores wait/signal) ---- Score : 818244 wait+signal/S +--- Score : 850984 wait+signal/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.12 (Benchmark, mutexes lock/unlock) ---- Score : 643028 lock+unlock/S +--- Score : 649608 lock+unlock/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.13 (Benchmark, RAM footprint) diff --git a/docs/reports/SPC560P50-64.txt b/docs/reports/SPC560P50-64.txt index 67aad3cd3..34fdae5d9 100644 --- a/docs/reports/SPC560P50-64.txt +++ b/docs/reports/SPC560P50-64.txt @@ -6,7 +6,7 @@ Settings: SYSCLK=64 *** ChibiOS/RT test suite *** *** Kernel: 2.5.2unstable -*** Compiled: Feb 19 2013 - 15:18:24 +*** Compiled: Apr 26 2013 - 13:30:12 *** Compiler: GCC 4.6.3 build on 2013-01-07 *** Architecture: Power Architecture *** Core Variant: e200z0 @@ -100,11 +100,11 @@ Settings: SYSCLK=64 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.1 (Benchmark, messages #1) ---- Score : 200701 msgs/S, 401402 ctxswc/S +--- Score : 200703 msgs/S, 401406 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.2 (Benchmark, messages #2) ---- Score : 167517 msgs/S, 335034 ctxswc/S +--- Score : 167519 msgs/S, 335038 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.3 (Benchmark, messages #3) @@ -116,7 +116,7 @@ Settings: SYSCLK=64 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.5 (Benchmark, threads, full cycle) ---- Score : 132691 threads/S +--- Score : 132689 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.6 (Benchmark, threads, create only) @@ -140,11 +140,11 @@ Settings: SYSCLK=64 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.11 (Benchmark, semaphores wait/signal) ---- Score : 850984 wait+signal/S +--- Score : 850964 wait+signal/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.12 (Benchmark, mutexes lock/unlock) ---- Score : 649592 lock+unlock/S +--- Score : 649584 lock+unlock/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.13 (Benchmark, RAM footprint) diff --git a/docs/reports/SPC563M64-80.txt b/docs/reports/SPC563M64-80.txt index 17c51d788..6d17cd808 100644 --- a/docs/reports/SPC563M64-80.txt +++ b/docs/reports/SPC563M64-80.txt @@ -6,12 +6,12 @@ Settings: SYSCLK=80 *** ChibiOS/RT test suite *** *** Kernel: 2.5.2unstable -*** Compiled: Feb 19 2013 - 16:20:57 +*** Compiled: Apr 26 2013 - 13:36:25 *** Compiler: GCC 4.6.3 build on 2013-01-07 *** Architecture: Power Architecture *** Core Variant: e200z3 *** Port Info: VLE mode -*** Platform: SPC563M64 +*** Platform: SPC563Mxx Powertrain *** Test Board: Generic SPC563Mxx ---------------------------------------------------------------------------- @@ -100,51 +100,51 @@ Settings: SYSCLK=80 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.1 (Benchmark, messages #1) ---- Score : 285270 msgs/S, 570540 ctxswc/S +--- Score : 267100 msgs/S, 534200 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.2 (Benchmark, messages #2) ---- Score : 237014 msgs/S, 474028 ctxswc/S +--- Score : 214686 msgs/S, 429372 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.3 (Benchmark, messages #3) ---- Score : 237014 msgs/S, 474028 ctxswc/S +--- Score : 214686 msgs/S, 429372 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.4 (Benchmark, context switch) ---- Score : 932856 ctxswc/S +--- Score : 880072 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.5 (Benchmark, threads, full cycle) ---- Score : 187495 threads/S +--- Score : 172117 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.6 (Benchmark, threads, create only) ---- Score : 270759 threads/S +--- Score : 251932 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.7 (Benchmark, mass reschedule, 5 threads) ---- Score : 79000 reschedules/S, 474000 ctxswc/S +--- Score : 73531 reschedules/S, 441186 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.8 (Benchmark, round robin context switching) ---- Score : 596892 ctxswc/S +--- Score : 556476 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.9 (Benchmark, I/O Queues throughput) ---- Score : 857688 bytes/S +--- Score : 803124 bytes/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.10 (Benchmark, virtual timers set/reset) ---- Score : 994442 timers/S +--- Score : 897800 timers/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.11 (Benchmark, semaphores wait/signal) ---- Score : 1092924 wait+signal/S +--- Score : 948060 wait+signal/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.12 (Benchmark, mutexes lock/unlock) ---- Score : 889960 lock+unlock/S +--- Score : 808692 lock+unlock/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.13 (Benchmark, RAM footprint) diff --git a/docs/reports/SPC564A64-150.txt b/docs/reports/SPC564A64-150.txt new file mode 100644 index 000000000..d7deb5a5b --- /dev/null +++ b/docs/reports/SPC564A64-150.txt @@ -0,0 +1,164 @@ +*************************************************************************** +Options: -O2 -fomit-frame-pointer -falign-functions=16 +Settings: SYSCLK=150 +*************************************************************************** + +*** ChibiOS/RT test suite +*** +*** Kernel: 2.5.2unstable +*** Compiled: Apr 26 2013 - 13:44:39 +*** Compiler: GCC 4.6.3 build on 2013-01-07 +*** Architecture: Power Architecture +*** Core Variant: e200z4 +*** Port Info: VLE mode +*** Platform: SPC564Axx Powertrain +*** Test Board: Generic SPC564Axx + +---------------------------------------------------------------------------- +--- Test Case 1.1 (Threads, enqueuing test #1) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.2 (Threads, enqueuing test #2) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.3 (Threads, priority change) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 1.4 (Threads, delays) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.1 (Semaphores, enqueuing) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.2 (Semaphores, timeout) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.3 (Semaphores, atomic signal-wait) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 2.4 (Binary Semaphores, functionality) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.1 (Mutexes, priority enqueuing test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.2 (Mutexes, priority inheritance, simple case) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.3 (Mutexes, priority inheritance, complex case) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.4 (Mutexes, priority return) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.5 (Mutexes, status) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.6 (CondVar, signal test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.7 (CondVar, broadcast test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 3.8 (CondVar, boost test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 4.1 (Messages, loop) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 5.1 (Mailboxes, queuing and timeouts) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.1 (Events, registration and dispatch) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.2 (Events, wait and broadcast) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 6.3 (Events, timeouts) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 7.1 (Heap, allocation and fragmentation test) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 8.1 (Memory Pools, queue/dequeue) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 9.1 (Dynamic APIs, threads creation from heap) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 9.2 (Dynamic APIs, threads creation from memory pool) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 9.3 (Dynamic APIs, registry and references) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.1 (Queues, input queues) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 10.2 (Queues, output queues) +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.1 (Benchmark, messages #1) +--- Score : 366301 msgs/S, 732602 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.2 (Benchmark, messages #2) +--- Score : 300831 msgs/S, 601662 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.3 (Benchmark, messages #3) +--- Score : 300831 msgs/S, 601662 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.4 (Benchmark, context switch) +--- Score : 1228024 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.5 (Benchmark, threads, full cycle) +--- Score : 236670 threads/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.6 (Benchmark, threads, create only) +--- Score : 342041 threads/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.7 (Benchmark, mass reschedule, 5 threads) +--- Score : 96958 reschedules/S, 581748 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.8 (Benchmark, round robin context switching) +--- Score : 776520 ctxswc/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.9 (Benchmark, I/O Queues throughput) +--- Score : 1004596 bytes/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.10 (Benchmark, virtual timers set/reset) +--- Score : 1059258 timers/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.11 (Benchmark, semaphores wait/signal) +--- Score : 1371952 wait+signal/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.12 (Benchmark, mutexes lock/unlock) +--- Score : 1000964 lock+unlock/S +--- Result: SUCCESS +---------------------------------------------------------------------------- +--- Test Case 11.13 (Benchmark, RAM footprint) +--- System: 1052 bytes +--- Thread: 72 bytes +--- Timer : 20 bytes +--- Semaph: 12 bytes +--- EventS: 4 bytes +--- EventL: 16 bytes +--- Mutex : 16 bytes +--- CondV.: 8 bytes +--- Queue : 36 bytes +--- MailB.: 40 bytes +--- Result: SUCCESS +---------------------------------------------------------------------------- + +Final result: SUCCESS diff --git a/docs/reports/SPC56EL60-120.txt b/docs/reports/SPC56EL60-120.txt index 9b1354c0c..e616902b2 100644 --- a/docs/reports/SPC56EL60-120.txt +++ b/docs/reports/SPC56EL60-120.txt @@ -6,7 +6,7 @@ Settings: SYSCLK=120 *** ChibiOS/RT test suite *** *** Kernel: 2.5.2unstable -*** Compiled: Feb 19 2013 - 16:41:22 +*** Compiled: Apr 26 2013 - 13:21:56 *** Compiler: GCC 4.6.3 build on 2013-01-07 *** Architecture: Power Architecture *** Core Variant: e200z4 @@ -104,11 +104,11 @@ Settings: SYSCLK=120 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.2 (Benchmark, messages #2) ---- Score : 312927 msgs/S, 625854 ctxswc/S +--- Score : 312929 msgs/S, 625858 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.3 (Benchmark, messages #3) ---- Score : 312927 msgs/S, 625854 ctxswc/S +--- Score : 312931 msgs/S, 625862 ctxswc/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.4 (Benchmark, context switch) @@ -120,7 +120,7 @@ Settings: SYSCLK=120 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.6 (Benchmark, threads, create only) ---- Score : 369918 threads/S +--- Score : 369917 threads/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.7 (Benchmark, mass reschedule, 5 threads) @@ -132,19 +132,19 @@ Settings: SYSCLK=120 --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.9 (Benchmark, I/O Queues throughput) ---- Score : 1084644 bytes/S +--- Score : 1087108 bytes/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.10 (Benchmark, virtual timers set/reset) ---- Score : 1339156 timers/S +--- Score : 1339154 timers/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.11 (Benchmark, semaphores wait/signal) ---- Score : 1743332 wait+signal/S +--- Score : 1743328 wait+signal/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.12 (Benchmark, mutexes lock/unlock) ---- Score : 1223000 lock+unlock/S +--- Score : 1222972 lock+unlock/S --- Result: SUCCESS ---------------------------------------------------------------------------- --- Test Case 11.13 (Benchmark, RAM footprint) diff --git a/os/hal/platforms/SPC560BCxx/hal_lld.c b/os/hal/platforms/SPC560BCxx/hal_lld.c index e737964d8..5d14daf27 100644 --- a/os/hal/platforms/SPC560BCxx/hal_lld.c +++ b/os/hal/platforms/SPC560BCxx/hal_lld.c @@ -70,7 +70,6 @@ CH_IRQ_HANDLER(vector59) { * @notapi */ void hal_lld_init(void) { - extern void _vectors(void); uint32_t reg; /* The system is switched to the RUN0 mode, the default for normal diff --git a/os/hal/platforms/SPC560Pxx/hal_lld.c b/os/hal/platforms/SPC560Pxx/hal_lld.c index 65ca35d60..a5e0fbd5a 100644 --- a/os/hal/platforms/SPC560Pxx/hal_lld.c +++ b/os/hal/platforms/SPC560Pxx/hal_lld.c @@ -70,7 +70,6 @@ CH_IRQ_HANDLER(vector59) { * @notapi */ void hal_lld_init(void) { - extern void _vectors(void); uint32_t reg; /* The system is switched to the RUN0 mode, the default for normal diff --git a/os/hal/platforms/SPC563Mxx/hal_lld.c b/os/hal/platforms/SPC563Mxx/hal_lld.c index c4efc0e6a..7e2f32319 100644 --- a/os/hal/platforms/SPC563Mxx/hal_lld.c +++ b/os/hal/platforms/SPC563Mxx/hal_lld.c @@ -51,7 +51,6 @@ * @notapi */ void hal_lld_init(void) { - extern void _vectors(void); uint32_t n; /* FLASH wait states and prefetching setup.*/ diff --git a/os/hal/platforms/SPC564Axx/hal_lld.c b/os/hal/platforms/SPC564Axx/hal_lld.c index 6fb73ef89..2115116c4 100644 --- a/os/hal/platforms/SPC564Axx/hal_lld.c +++ b/os/hal/platforms/SPC564Axx/hal_lld.c @@ -51,7 +51,6 @@ * @notapi */ void hal_lld_init(void) { - extern void _vectors(void); uint32_t n; /* FLASH wait states and prefetching setup.*/ diff --git a/os/hal/platforms/SPC56ELxx/hal_lld.c b/os/hal/platforms/SPC56ELxx/hal_lld.c index 13c6cbe0a..b57d25d6e 100644 --- a/os/hal/platforms/SPC56ELxx/hal_lld.c +++ b/os/hal/platforms/SPC56ELxx/hal_lld.c @@ -51,7 +51,6 @@ * @notapi */ void hal_lld_init(void) { - extern void _vectors(void); uint32_t n; /* The system is switched to the RUN0 mode, the default for normal -- cgit v1.2.3