| Age | Commit message (Collapse) | Author |
|
|
|
|
|
for set_vector_subrange_bit.
|
|
|
|
|
|
|
|
Some tests intentionally produce undefined values (e.g. divide by zero) and this might be required for them to work.
|
|
|
|
bytes. This makes loading binaries much quicker but doesn't seem to make a big difference to execution speed.
|
|
|
|
neater access to registers of single bit.
|
|
|
|
dependency on ocaml uint library by using it.
|
|
bit_int_of_int. Likely very little performance benefit but slightly more readable.
|
|
|
|
Also makes the check function in type_check tail recursive.
|
|
|
|
|
|
enable gprof profiling)
|
|
need to use power.
|
|
|
|
|
|
|
|
doesn't mistake the - for minus operator
|
|
between them using a command line switch.
|
|
|
|
neq_range.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exceptions are not permitted so a local mutable variable, ret, is used in ocaml to store the return value. This avoids having to define a new exception type for each function. Ocaml infers the type of the option when it is assigned at the return site.
|
|
bit (specifically it caused generated ocaml to fail to type check for an undef number.
|
|
|
|
taking account of register direction.
|
|
way but standard for C and most hw.
|
|
more correct
|
|
accidentally replacing Vregister with Vvalue or Vregister... Seems to work for MIPS but not sure if might encounter vector of something other than bit or register. A more specific value type would have made this a compile-time error rather than run-time.
|
|
embedding test setup.
|
|
|
|
|
|
converting to integers, allowing them to work on vectors containing undef.
|
|
|
|
it is only ever used for translating the PC.
|
|
|
|
|
|
searching easier.
|
|
for mips compatibility.
|