diff options
| author | Andrew Chambers <[email protected]> | 2021-10-06 15:04:30 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-06 15:04:30 +1300 |
| commit | c7fd672e485c2efdad83f748d0205a27681b4474 (patch) | |
| tree | ca3887790742cc794f95df9a339ca7597589c4db /test | |
| parent | 60986d0a98a0549a08b361bc62534f8ed864015c (diff) | |
Refactor.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.sh | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/test/test.sh b/test/test.sh index 4b747fb..b261afa 100644 --- a/test/test.sh +++ b/test/test.sh @@ -26,12 +26,12 @@ t () { } t "leaq (%rax), %rax" - +t "leal (%rax), %eax" t "addq (%rax), %rax" t "andq (%rax), %rax" +t "orq (%rax), %rax" t "subq (%rax), %rax" t "xorq (%rax), %rax" - t "nop" t "ret" t "leave" @@ -46,19 +46,12 @@ t "addq %rax, (%rbx)" t "addl %eax, (%rax)" t "addl %eax, (%r9)" t "addl %ebx, (%r9)" - +t "orq %rax, %rax" +t "orq %rax, (%rax)" +t "orl %eax, %eax" t "xorq %rax, %rax" t "xorq %rax, (%rax)" t "xorl %eax, %eax" - t "andq %rax, %rax" t "andq %rax, (%rax)" t "andl %eax, %eax" - - - -#t "addq %rbp, (%rax)" - - -#t "addq %rax, %rbx" -#t "addl %eax, %ebx" |
