diff options
| author | Andrew Chambers <[email protected]> | 2021-10-09 12:14:13 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-09 12:14:13 +1300 |
| commit | 08716714c914e696ffbd1410fa7f16a0bc18ad1c (patch) | |
| tree | 6dba906e095e999bb2aefe36d64ff3141f705e33 /test | |
| parent | 8c0f425c60720ad364dea03722df2bba2b863405 (diff) | |
More instructions, refactor.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index e8293a7..1a3f34a 100644 --- a/test/test.sh +++ b/test/test.sh @@ -30,6 +30,14 @@ t () { echo -n "." } +t "pushq (%r9)" +t "pushq %r9" +t "pushq %rax" +t "popq (%r9)" +t "popq %r9" +t "popq %rax" + + t "movb \$127, (%rsp)" t "movb \$127, (%rbp)" t "movb \$127, 2147483647(%rsp)" @@ -87,6 +95,8 @@ do t "${op}q \$2147483647, %r${r}x" # r rm variants + t "${op}b (%rip), %${r}l" + t "${op}b (%rax), %${r}l" t "${op}b (%rax), %${r}l" t "${op}w (%rax), %${r}x" t "${op}l (%rax), %e${r}x" @@ -94,6 +104,7 @@ do t "${op}q (%rbp), %r${r}x" t "${op}q (%r8), %r${r}x" t "${op}q (%r13), %r${r}x" + t "${op}b %${r}l, (%rip)" t "${op}b %${r}l, (%rax)" t "${op}w %${r}x, (%rax)" t "${op}l %e${r}x, (%rax)" |
