Overclock.net banner
1 - 1 of 1 Posts

· Premium Member
Joined
·
7,864 Posts
Discussion Starter · #1 ·
Compute with 0 instructions on Intel! https://github.com/jbangert/trapcc
Quote:
This is a proof by construction that the Intel MMU's fault handling mechanism is Turing complete. We have constructed an assembler that translates 'Move, Branch if Zero, Decrement' instructions to C source that sets up various processor control tables. After this code has executed, the CPU computes by attempting to fault without ever executing a single instruction. Optionally, the assembler can also generate X86 instructions that will display variables in the VGA frame buffer and will cause control to be transferred between the native (display) instructions and 'weird machine' trap instructions.
The "compute with 0 instructions" does read a little like linkbait, but this is definitely a very interesting hack.
 
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top