42 Commits

Author SHA1 Message Date
0b101
f9b35b999b upgrade Alpine to 3.11.2 2020-01-05 11:16:56 -06:00
Theodore Dubois
791656eccd Fix syntax error in manual signal test 2019-12-09 20:34:10 -08:00
Theodore Dubois
f1b738ad10 Implement cmpxchg8b 2019-12-09 20:33:44 -08:00
Matthew Merrill
a5ef557b7e Implement sse2: psrlq, movdqa 2019-10-20 13:31:51 -07:00
Matthew Merrill
d8b08da8c0 movaps, movss, movsd, ucomiss, pxor, xorps 2019-10-19 22:23:33 -07:00
Theodore Dubois
8c4d4c9442
Merge pull request #418 from 0b101/Alpine3100
Upgrade Alpine to 3.10.0
2019-07-20 19:16:01 -07:00
Theodore Dubois
e87b6c46b8 Make e2e.bash executable 2019-07-14 19:24:56 -07:00
Theodore Dubois
7b9371e1af Implement receiving of signals with siginfo 2019-07-04 12:51:36 -07:00
David
dbc5f48bac
Changed "ALPINE_IMAGE" in e2e.bash to 3.10.0 2019-06-27 08:40:52 -05:00
Matthew Merrill
f7c00d13dd Have travis use meson test
- script sets up test file system
 - add -y flag to auto-accept setup prompt
 - change travis script to use meson test
2019-06-07 16:35:38 -07:00
Matthew Merrill
e1b63761cc move e2e.bash into tests/e2e subdirectory 2019-06-06 22:50:12 -07:00
Matthew Merrill
e23c6bc2a4 Move all tests to tests subdirectory
Previous tests/ contents are moved to tests/manual.
E2E tests are moved to tests/e2e.
2019-06-06 22:33:53 -07:00
Theodore Dubois
267fd16bb6 Implement all sizes of cmpxchg on x86_64 2019-05-26 19:24:21 -07:00
Theodore Dubois
888e07363b Implement bt[csr] for x86_64 2019-01-13 17:30:08 -05:00
Theodore Dubois
e3496dc64c Try to implement rcl and rcr 2018-12-19 19:39:20 -08:00
Theodore Dubois
d6d5fc9cf7 Disable tests for unimplemented instructions in the QEMU test program 2018-11-18 16:43:47 -08:00
Theodore Dubois
2748b8ade6 Add test for modifying code that was just run 2018-05-27 12:13:46 -07:00
Theodore Dubois
cc3dde2968 Fix several emulation bugs 2018-05-26 11:58:32 -07:00
Theodore Dubois
034e2cdb9b Add thread test program 2018-02-02 16:57:57 -08:00
Theodore Dubois
255f8f18c8 Use a per-cpu TLB 2017-12-24 16:02:15 -08:00
Theodore Dubois
e6f7c9cbee Fix compile errors in the qemu test 2017-12-24 12:15:59 -08:00
Theodore Dubois
9365b66ceb Replace nop function with asm volatile("") 2017-12-24 12:15:14 -08:00
Theodore Dubois
d33d15d36f Implement rt_sigreturn 2017-09-03 10:45:36 -07:00
Theodore Dubois
ea65057bed Add fpu support, somewhat working poll, separate tests into new project, \r\n, jeez I need to commit more often 2017-08-28 12:54:23 -07:00
Theodore Dubois
b22540a183 Finish implementing ttys
still missing poll
2017-08-19 18:37:08 -07:00
Theodore Dubois
a2fb2f6bdc Implement vfork, nanosleep, readv, wait4, setitimer 2017-07-27 13:09:48 -07:00
Theodore Dubois
6292a97b6e Implement clone system call, and copy-on-write 2017-07-11 15:08:47 -07:00
Theodore Dubois
c7b66c122a Move busybox building into a custom target 2017-07-05 22:16:54 -07:00
Theodore Dubois
a661e42b08 Start working on signal handling, completely refactor cpu emulator, and fix qemu test program compiling on clang 2017-07-04 16:10:13 -07:00
Theodore Dubois
2a2af1d510 Add qemu test program 2017-06-27 18:48:52 -07:00
Theodore Dubois
101baa6a8b Implement rt_sigaction and start implementing signal handling 2017-06-26 17:05:43 -07:00
Theodore Dubois
a74f2869a3 Make busybox ls work 2017-06-20 18:21:32 -07:00
Theodore Dubois
adfbe8261d Make busybox gzip work 2017-06-19 15:21:20 -07:00
Theodore Dubois
65667d57e8 Get busybox cat to work 2017-06-17 18:44:25 -07:00
Theodore Dubois
559ae4cbcc Make Hello World with libc and ld work
IF you want to understand how amazing this is, watch https://www.twitch.tv/videos/152115137
2017-06-15 14:18:24 -07:00
Theodore Dubois
c90e717a40 Get up to mprotect on linker 2017-06-14 20:32:37 -07:00
Theodore Dubois
1c0b082513 Make filesystem work well enough for cat program 2017-06-07 14:30:48 -07:00
Theodore Dubois
6a9bc164a1 Add elf interpreter loading 2017-06-05 15:12:44 -07:00
Theodore Dubois
1cba915a2b Add fibbonaci benchmark
To make it work I also added some opcodes, cli argument support, and
sped up the memory compare thing in ptraceomatic.
2017-06-05 07:23:59 -07:00
Theodore Dubois
8cd8c258e7 Add a nice little looping benchmark
Currently shows ish with optimizations on is 20 times slower than a real
chip. I'm hoping I can get that down to 10 times slower.
2017-06-05 03:23:05 -07:00
Theodore Dubois
f19cf67d02 Implement uname and add some opcodes 2017-05-27 16:34:29 -07:00
Theodore Dubois
92752123ca move testing programs around 2017-05-08 14:39:34 -07:00