embench runs
Some checks failed
Hello World (Multiplatform) / build (macos-12) (push) Has been cancelled
Hello World (Multiplatform) / build (macos-14) (push) Has been cancelled
Hello World (Multiplatform) / build (ubuntu-22.04) (push) Has been cancelled
Hello World (Multiplatform) / build (windows-2022) (push) Has been cancelled
Run tests with twister / twister-build-prep (push) Has been cancelled
Run tests with twister / twister-build (push) Has been cancelled
Run tests with twister / Publish Unit Tests Results (push) Has been cancelled
Run tests with twister / Check Twister Status (push) Has been cancelled
Some checks failed
Hello World (Multiplatform) / build (macos-12) (push) Has been cancelled
Hello World (Multiplatform) / build (macos-14) (push) Has been cancelled
Hello World (Multiplatform) / build (ubuntu-22.04) (push) Has been cancelled
Hello World (Multiplatform) / build (windows-2022) (push) Has been cancelled
Run tests with twister / twister-build-prep (push) Has been cancelled
Run tests with twister / twister-build (push) Has been cancelled
Run tests with twister / Publish Unit Tests Results (push) Has been cancelled
Run tests with twister / Check Twister Status (push) Has been cancelled
This commit is contained in:
parent
74d5d82f57
commit
4e5bb4f004
|
@ -15,3 +15,8 @@ LTO && !CFI -> ~ 3650000 KFLOPS
|
||||||
!LTO && !CFI -> ~ 3650000 KFLOPS
|
!LTO && !CFI -> ~ 3650000 KFLOPS
|
||||||
|
|
||||||
mibench -> not implemented for zephyr and no reason to suspect result differ from linpack
|
mibench -> not implemented for zephyr and no reason to suspect result differ from linpack
|
||||||
|
|
||||||
|
embench:
|
||||||
|
LTO && CFI -> ~ 906.4 ms
|
||||||
|
LTO && !CFI -> ~ 853.3 ms
|
||||||
|
!LTO && !CFI -> ~ 934.1 ms
|
||||||
|
|
|
@ -4,4 +4,5 @@ cmake_minimum_required(VERSION 3.20.0)
|
||||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||||
project(blinky)
|
project(blinky)
|
||||||
|
|
||||||
|
#add_compile_definitions(DEBUG)
|
||||||
target_sources(app PRIVATE src/main.c src/bench.c)
|
target_sources(app PRIVATE src/main.c src/bench.c)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
#CONFIG_ASAN=y
|
#CONFIG_ASAN=y
|
||||||
#CONFIG_CFI=y
|
CONFIG_CFI=y
|
||||||
CONFIG_LLVM_USE_LLD=y
|
CONFIG_LLVM_USE_LLD=y
|
||||||
#CONFIG_LTO=y
|
CONFIG_LTO=y
|
||||||
|
|
||||||
#CONFIG_DEBUG=y
|
#CONFIG_DEBUG=y
|
||||||
#CONFIG_DEBUG_INFO=y
|
#CONFIG_DEBUG_INFO=y
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
#include "support.h"
|
#include "support.h"
|
||||||
|
|
||||||
#define LOCAL_SCALE_FACTOR 51
|
#define LOCAL_SCALE_FACTOR 50
|
||||||
|
|
||||||
/* BEEBS heap is just an array */
|
/* BEEBS heap is just an array */
|
||||||
/* MSG_SIZE * 2 + ((((MSG_SIZE+8)/64 + 1) * 64) - 8) + 64 */
|
/* MSG_SIZE * 2 + ((((MSG_SIZE+8)/64 + 1) * 64) - 8) + 64 */
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
#include "support.h"
|
#include "support.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int __attribute__((used)) main(int argc __attribute__((unused)),
|
int __attribute__((used)) main(int argc __attribute__((unused)),
|
||||||
char *argv[] __attribute__((unused)))
|
char *argv[] __attribute__((unused)))
|
||||||
|
@ -35,6 +36,7 @@ int __attribute__((used)) main(int argc __attribute__((unused)),
|
||||||
correct = verify_benchmark(result);
|
correct = verify_benchmark(result);
|
||||||
|
|
||||||
puts("returning");
|
puts("returning");
|
||||||
|
exit(0);;
|
||||||
return (!correct);
|
return (!correct);
|
||||||
|
|
||||||
} /* main () */
|
} /* main () */
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define DEBUG
|
//#define DEBUG
|
||||||
#define CPU_MHZ 1
|
#define CPU_MHZ 5000
|
||||||
#define WARMUP_HEAT 1000
|
#define WARMUP_HEAT 1000
|
||||||
|
|
||||||
/* Include board support header if we have one */
|
/* Include board support header if we have one */
|
||||||
|
|
Loading…
Reference in a new issue