summaryrefslogtreecommitdiff
path: root/src/test/run_power.ml
AgeCommit message (Collapse)Author
2014-11-19Correct off-by-one bug in type checking vector slicesKathy Gray
Convert sparse vectors into full-fledged vectors more frequently and on export to memory system
2014-11-04setup printing for memory on testsKathy Gray
2014-10-31Add a num to bits function; start hooking up the power.ml file to the ↵Kathy Gray
symbol/memory address list.
2014-10-30Pull in updated elf model, make build work again (at least for me)Kathy Gray
2014-10-27Correct externally visible endianness bugsKathy Gray
2014-10-27debugging tempKathy Gray
2014-10-27Add printing for instruction formKathy Gray
2014-10-22Update printing for testing, fix some bugs found along the wayKathy Gray
2014-10-20Separate out printing facility from model driver into printing_functions ↵Kathy Gray
interface
2014-10-16bug fixes to run test from Christopher's testsKathy Gray
2014-10-15Get the actual start address instead of the address of the start addressKathy Gray
2014-10-15Fixup printing on dumping memory to a lem fileKathy Gray
2014-10-15Add ability to print out binary as lem file of memory dump instead of ↵Kathy Gray
running binary; to generate files for Peter to load, in the first instance.
2014-10-14Iron out bugs in running new executable with branching; add new executable ↵Kathy Gray
as well.
2014-10-10make run_power.ml compile againKathy Gray
2014-09-30Executing an actual elf fileKathy Gray
2014-09-29Connect up to elf model; which doesn't seem to be representing the elf file ↵Kathy Gray
properly yet but run_power.native is connected to it
2014-09-29add run_power to last commitKathy Gray
2014-08-20Add ability to track register dependencies in interactive stepper; thus ↵Kathy Gray
testing register tracking/tainting
2014-08-19make test_power_interactive working again; now using interp_interface ↵Kathy Gray
instead of internal actions
2014-08-18Handling many register reads, writes, and memory reads.Kathy Gray
There are problems that warrant discussion about handling special registers that hold records or data structures previously.
2014-08-18Switch run_power to use interp_interface. Compilers and begins running, and ↵Kathy Gray
then hits an error. So still in progress Note: moved barrier kind changes to interp_interface, along with other memory kinds
2014-08-01Support separated memory read/write functions.Kathy Gray
Also allows register writing functions to be on the left hand side of an assignment in the same way. The last parameter to a writing function is the value to be written, and should appear on the right hand side of an assignment expression.
2014-06-24Get vector length for to_inc_vec and to_dec_vec from the type system after ↵Kathy Gray
constraint solving (instead of hardcoding 64 as the default).
2014-06-11power.sail: store mode64bit in a bool registerGabriel Kerneis
This is now possible because we handle coercions better.
2014-06-09Improve interaction after chat with PeterGabriel Kerneis
- remember mode (run, step or next) between instructions - display continuation by default in step mode - start in step mode by default - incompatible change: the shorthand for stack is now bt (=backtrace), since s becomes the shorthand for step - incompatible change: pressing enter now repeats the current mode, instead of "step"
2014-06-07Don't use cycle for fetch-decode-executeGabriel Kerneis
2014-06-07Pattern-matching exhaustivenessGabriel Kerneis
2014-06-06Add wrapper script and --interactive for demoGabriel Kerneis
2014-06-05Shorten debug output for powerGabriel Kerneis
2014-06-05Enable single-stepping for test/power.sailGabriel Kerneis
2014-04-04Cosmetic improvements (statistics, --quiet)Gabriel Kerneis
2014-04-04Improve Power executionGabriel Kerneis
- Move FDE loop to the OCaml side of the Power model (avoid leaking memory due to lack of TCO in interpreter) - Display cycle count - Check the value of CIA at the end of each cycle and stop if it is equal to the initial value of LR, returning the value in GPR3.
2014-02-28Fix endiannessGabriel Kerneis
In fact, increasing order is big-endian, not little-endian. This is good news for us, because it means we do not need any switch for the POWER spec.
2014-02-28Fetch-decode POWER interpreterGabriel Kerneis
Many limitations and bugs currently, but loads binary and decodes opcodes correctly (using endianness hacks). Disabled in the default test suite (but still compiled), run "make test_power" to try it.
2014-02-28Load ELF sections to virtual memory addressesGabriel Kerneis
Roughly 110KB/s (~5 seconds to load "hello" test).
2014-02-27Load POWER binary into interpreter's memoryGabriel Kerneis