diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-01 11:55:22 -0700 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:24 +0000 |
commit | 055be60abf1dc4d3b9a77a75fe83b8256caaa52b (patch) | |
tree | 4cc7569aa3d97714dde4d9f1ed68e224b9f29273 /assembler/test | |
parent | d1b879192816aeccd6e49d872856f0e6e98bb1e7 (diff) |
Add a test for wait instruction (not yet implemented).
Diffstat (limited to 'assembler/test')
-rw-r--r-- | assembler/test/.gitignore | 1 | ||||
-rw-r--r-- | assembler/test/Makefile.am | 3 | ||||
-rw-r--r-- | assembler/test/wait.expected | 1 | ||||
-rw-r--r-- | assembler/test/wait.g4a | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/assembler/test/.gitignore b/assembler/test/.gitignore index fbbf94ba7..cc9661c9c 100644 --- a/assembler/test/.gitignore +++ b/assembler/test/.gitignore @@ -12,4 +12,5 @@ jmpi if iff while +wait immediate diff --git a/assembler/test/Makefile.am b/assembler/test/Makefile.am index dec7e938a..fb7d94faa 100644 --- a/assembler/test/Makefile.am +++ b/assembler/test/Makefile.am @@ -14,6 +14,7 @@ TESTS = \ if \ iff \ while \ + wait \ immediate # Tests that are expected to fail because they contain some inccorect code. @@ -47,6 +48,8 @@ TESTDATA = \ iff.g4a \ while.expected \ while.g4a \ + wait.expected \ + wait.g4a \ immediate.g4a \ immediate.expected diff --git a/assembler/test/wait.expected b/assembler/test/wait.expected new file mode 100644 index 000000000..06a055b9f --- /dev/null +++ b/assembler/test/wait.expected @@ -0,0 +1 @@ + { 0x00000030, 0x20000000, 0x00001200, 0x00010000 }, diff --git a/assembler/test/wait.g4a b/assembler/test/wait.g4a new file mode 100644 index 000000000..59d11fa95 --- /dev/null +++ b/assembler/test/wait.g4a @@ -0,0 +1 @@ +wait n0; |