| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
Now the only piece I plan to not write tests for is emit-headers.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fix a couple of syntax errors.
survey.subx still failing tests.
|
|\
| |
| |
| |
| |
| | |
High time we pulled in the final changes to dquotes.
In the process we fix one recently introduced duplicate symbol.
|
| |
| |
| |
| | |
Explore using a second register for pointer dereferencing.
|
| |
| |
| |
| |
| | |
After fixing bugs, checking alloc_ids now requires 9 instructions rather
than 6.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Couple of typos in handle.subx. We didn't notice because a missing /r32
field gets turned into 0/EAX anyway, and because ECX happens to have the
same value as EAX in the specific test caller.
But it's still not running as expected, now that I'm looking closely.
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
We need yet another helper for computing the lengths of strings, while
checking for escape sequences.
|
| | |
| | |
| | |
| | |
| | |
| | | |
We're going to be cloning it for the length computation.
Anytime we do something non-standard it's invariably short-lived.
|
| | |
| | |
| | |
| | | |
As expected, almost all tests now passing.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
More importantly, don't mix reclaiming locals with discarding args after
a call.
|
| | |
| | |
| | |
| | | |
I _think_ we'll need to use it below. But may be wrong.
|
| | |
| | |
| | |
| | |
| | | |
Kind of a pathological case, but makes our loop follow a standard format,
and provides some error checking at low cost.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
I was missing a test to catch this.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I like to be able to jump between functions and tests using '}' in Vim
:)
We also shouldn't put the wrong argument types in the tabular columns.
Just make it obvious they're not in use when instructions don't have a
ModR/M byte.
End-of-line comments are really only useful for instructions with a ModR/M
byte.
|
| | | |
|
| | |
| | |
| | |
| | | |
skip-string-in-slice
|
| | | |
|
| | |
| | |
| | |
| | | |
This one should make `emit-metadata` string-aware.
|
| | |
| | |
| | |
| | | |
Plan: https://github.com/akkartik/mu/commit/d4a244268841e8e912c98f4587095b701aa5c292#commitcomment-33558279
|
| | |
| | |
| | |
| | | |
Get 'assort.subx' working again.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
subx/survey/compute-addresses: Now computing segment starting addresses
correctly.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Now tracing segment names correctly.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Make `compute-addresses` less clever. Stop striding from the middle of
one row to the next. This way we'll also obviate the need for indexing
backwards from a pointer in the next commit.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Kinda hacky, but might scale enough for machine code.
This was really hard to debug. Single tests passed, but when I ran all
tests I got breakage because tests long before (from the 056trace layer)
were not cleaning up properly.
My instinct was to call clear-stream on Trace-stream, which was wrong
(the trace didn't have the wrong contents, it was literally a bad
object). It was also wrong in a counter-productive way: calling
clear-stream on a real Trace stream (which is the size of a page of
memory) takes a long time in emulated mode.
|
| | | |
|