aboutsummaryrefslogtreecommitdiff
path: root/test/benchmarks
AgeCommit message (Collapse)AuthorFilesLines
2017-12-14Add newlib nano support.Jim Wilson1-2/+4
* Makefile.in (NEWLIB_NANO_TARGET_BOARDS): New. (build-libc): Change build-newlib to stamps/build-newlib. Add stamps/build-newlib-nano. (check-newlib-nano, check-gcc-newlib-nano, check-binutils-newlib-nano) (check-gdb-newlib-nano, report-newlib-nano): New. (check-dhrystone-linux, check-dhrystone-newlib): Delete first version of these rules. (build-gcc-newlib-stage1): Use --with-sysroot. (build-newlib-nano, merge-newlib-nano): New. (build-gcc-newlib-stage2): Depend on merge-newlib-nano. Use --with-sysroot instead of --with-headers. Also use --with-native-system-header-dir. (build-dejagnu): Install it. (check-gcc-newlib, check-gcc-linux, check-dhrystone-newlib-%) (check-dhrystone-linux-%, check-binutils-newlib, check-binutils-linux) (check-gdb-newlib, check-gdb-linux): Drop DEJAGNULIBS environment variable set. (check-gcc-newlib-nano, check-dhrystone-newlib-nano) (check-dhrystone-newlib-nano-%, check-binutils-newlib-nano) (check-gdb-newlib-nano, report-gcc-newlib-nano) (report-dhrystone-newlib-nano, report-binutils-newlib-nano) (report-gdb-newlib-nano): New. (Makefile): Add rule to rebuild when Makefile.in changes. (test/benchmarks/dhrystone/check): Add -specs= option. Use it in $cc commands.
2017-09-13Compile Dhrystone with multiple GCC runsPalmer Dabbelt3-2/+8
This doesn't actually make a difference because we had some pragmas in there to avoid badness, but this sets a better example.
2017-09-13Ensure we don't regress in Dhrystone dynamic instruction countPalmer Dabbelt4-0/+1046
I haven't actually gone and made sure these numbers are good yet, but this at least automates getting the numbers.