Commit Graph

166 Commits

Author SHA1 Message Date
Ciro Santilli 六四事件 法轮功
788087c6f4 kernel too old typos 2020-02-27 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7427fa135a c++ typecast 2020-02-26 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
7c6bb29bc8 python_embed: managed to pass arguments to base constructor 2020-02-25 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
7c93912413 embedding python move from python-cheat 2020-02-24 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
b468b5bc95 pybind11: disable LKMC build 2020-02-24 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
7fbce888cf hdf5 2020-02-22 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
04a8521905 pybind11: fix and generalize example 2020-02-21 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
8447a9a8a7 userland: freestanding gem5 checkpoint restore examples 2020-02-20 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
756ecea195 pybind11: keep files in tree just for future reference, not properly automated yet 2020-02-19 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
fc98b543d1 profiling: start 2020-02-17 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
d29a07ddad userland/arch/aarch64/inline_asm/futex_sev.cpp 2020-01-14 00:00:02 +00:00
Ciro Santilli 六四事件 法轮功
270421ccc3 arm: sevl_wfe.S example 2020-01-14 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
cc1d34f862 fix wfe_ldxr_* examples with sevl to make things more hardware independant 2020-01-13 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
3b3f073e2c userland/arch/aarch64/freestanding/linux/gem5_exit.S to benchmark immediate gem5 exit
ldxr_stxr does an ldxr on thread 0 to fall in the ISA case where event is certain.

Also add ldxr_str which tests yet another case where event is certain: non conditional
write.
2020-01-10 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
ae758f589a boost: start 2020-01-08 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
0cb0c373f6 std::set hello world example 2020-01-08 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
268355e53b wfe_ldrex_strex.cpp 2020-01-07 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
777b7cbbd1 futex: fix example, could go wrong in theory
Start std::memory_order stub...
2019-12-18 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
a59c773124 userland/arch/aarch64/inline_asm/reg_var.c: use 64 bit variables
32-bit ones likely copy paste error from coming from arm v7.

Also create userland/arch/aarch64/inline_asm/int_32.c:

Also create aarch64_ldaxr_stlxr.cpp and start documenting LDAXR and STLXR.
2019-12-18 00:00:00 +00:00
Ciro Santilli 六四事件 法轮功
5e39c1b911 create m5ops.cpp to count instructions before main
C++ has 2M while C has 100k.
2019-12-17 00:00:01 +00:00
Ciro Santilli 六四事件 法轮功
ab6f733140 futex: move required includes to header 2019-12-17 00:00:00 +00:00
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