diff options
| author | Andrew Chambers <[email protected]> | 2021-10-19 23:41:18 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-19 23:41:18 +1300 |
| commit | 8ec02b57ec7904c326426f1f0e7daea42f53b72e (patch) | |
| tree | 8018383c4daf623dc890e0fa704645b31fd8151d /test/test.sh | |
| parent | ca4b24d45a5c575afa18a09d0de5ee0cedccb5bb (diff) | |
Properly size small immediates.
Diffstat (limited to 'test/test.sh')
| -rw-r--r-- | test/test.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index 4f33634..152ea2b 100644 --- a/test/test.sh +++ b/test/test.sh @@ -284,13 +284,27 @@ do for r in a b do # immediate variants + t "${op}b \$1, (%r${r}x)" t "${op}b \$127, (%r${r}x)" + t "${op}w \$1, (%r${r}x)" t "${op}w \$32767, (%r${r}x)" + t "${op}l \$1, (%r${r}x)" t "${op}l \$2147483647, (%r${r}x)" + t "${op}q \$1, (%r${r}x)" t "${op}q \$2147483647, (%r${r}x)" t "${op}b \$127, %${r}l" t "${op}w \$32767, %${r}x" + + t "${op}w \$1, %${r}x" + + t "${op}l \$1, %e${r}x" + t "${op}l \$1000, %e${r}x" + t "${op}l \$1000000, %e${r}x" t "${op}l \$2147483647, %e${r}x" + + t "${op}q \$1, %r${r}x" + t "${op}q \$1000, %r${r}x" + t "${op}q \$1000000, %r${r}x" t "${op}q \$2147483647, %r${r}x" # r -> m variants |
