Commit Graph

145 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
89a981aaf2 arm WFE: add some userland examples 2019-12-16 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
10946a7d80 one useless futex example, hopefully correct 2019-12-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a8ea7c81f1 wfe example, and more nostartfiles stuff 2019-12-12 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
2f5cd56506 pthread_self.c: mention gettid 2019-12-03 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7b74328603 c++ parallel sort algorithm example 2019-12-02 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5d233f2664 gem5: update to bcf041f257623e5c9e77d35b7531bae59edc0423
This notably allow dynamic linking to work! Move entire README to it.

Also:

- explain what Dhrystone does and run it on gem5 to get DMIPS
- create getprops
- ./test-executables don't test files that start with "tmp."
2019-11-28 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c3f2045e1f stream: play with the STREAM benchmark 2019-11-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
001479a150 algorithm: add README to directory 2019-11-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9bfbff244d benchmarks: eyeball STREAM 2019-11-21 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5fd2a3da76 pthread_mutex: move in from cpp-cheat 2019-11-19 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9dfcb316bf start moving algorithm in 2019-11-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
8244e0529b atomic: analyze further 2019-11-17 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d82e47e9d2 cpp atomic: define to 1 which is saner 2019-11-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
175b0e3d50 bst_vs_heap_vs_hashmap: create nicer version with separated benchmarks
One data structure per executable, and gem5 instrumented versions in
separate executables.

Create the allowed_emulators path_properties property.

TODO: wire it up to benchmark result generation and remove the old version.
2019-11-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
c14d5dfeba bst_vs_heap_vs_hashmap: configurable seed, make code a bit nicer 2019-11-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
627623157c atomic.cpp: split into several versions one per executable 2019-11-15 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
2b0a5724a7 readme: convert underscores to hyphens on all header IDs
GitHub converts differently than asciidoctor... the only way to keep
them consistent is to explicitly set IDs.
2019-11-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
927c7851b5 sched_getaffinity.c: make error check nicer 2019-11-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f92432e272 arm: x29 is frame register 2019-11-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
bb552d00a4 _SC_NPROCESSORS_CONF 2019-11-12 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
bf1ca6460d c++: copyfmt 2019-11-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ca47a77676 fork and fork bomb moved in from cpp-cheat 2019-11-12 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5b67747214 cpp: parametrize nthreads on threaded programs CLI
Mark them as multithreaded in path_properties. Preparation for
https://cirosantilli.com/linux-kernel-module-cheat/#user-mode-static-executables-with-dynamic-libraries
which is likely what breaks gem5 on them.
2019-11-04 23:00:01 +00:00
Ciro Santilli 六四事件 法轮功
425d3a5713 pthread_self: allow multiple waves
Original motivation: determine if gem5's join releases CPU cores.
It does.
2019-11-04 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a06672a20d gcc hacks: busy_loop and prevent_reorder 2019-11-08 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
02018daa95 arm: sve_addvl test program that prints sve length 2019-10-30 22:00:02 +00:00
Ciro Santilli 六四事件 法轮功
9afe5355e9 userland: add some random filesystem and random stuff
Some moved from C++, some moved from SO, some I just made up.
2019-10-18 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
f6123ac9f1 c++: file_read_write 2019-10-18 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
1509c3bca4 command_line_arguments.c: move description to readme 2019-10-08 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
50281d1db5 nodejs: file io 2019-10-08 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
a9856a47a8 nodejs: start sketch 2019-10-08 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
b4b2164f29 wget: move from cpp-cheat 2019-09-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fffc8d92da memory leak example 2019-09-18 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
6c599534db multithread: doc improvements 2019-09-11 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
6aa375df2a run: make --num-cpus work in gem5 userland and fs_bigLITTLE.py 2019-09-07 00:00:04 +00:00
Ciro Santilli 六四事件 法轮功
e0fb39c92a userland: move more multithreading from cpp-cheat!
Convert infinite_loop.c into loop.c. Keep all examples fast by default!
2019-09-07 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
e1ceb85934 c++: template class with static member 2019-09-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cb3f2f6183 c++: if constexpr 2019-09-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
4806f0ecfb c++ template class example 2019-09-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d1d12e4b43 infinite_loop.c: document better, allow 0 magic value to not print
Enable test by passing arguments to the test to limit loops.

gem5 arm LSE: still skipped, but add a link to the master patch that was merged.
2019-09-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
a1cf89efba stack smashing 2019-09-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
f8b3ba9175 userland/linux: cc_pedantic actually works there and I found a bug with it 2019-08-27 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
efc4205416 Become a memory accounting amateur 2019-08-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
2fc1fc5767 freestanding examples: spaces! 2019-08-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
6dfc95d73a arm: signed LDR example with LDRSW 2019-08-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
9524307c0d build-doc: verify that there are no github readme links 2019-08-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
96239298a9 Start nostartfiles examples.
Interlink freestanding directories and readme.
2019-08-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
06374cda42 aarch64 sve: formatting and make .L symbols where possible 2019-08-25 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
915b04a76e mmap anonymous: configurable size 2019-08-11 00:00:03 +00:00
Ciro Santilli 六四事件 法轮功
b1767533af mmap anonymous 2019-08-11 00:00:02 +00:00