Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test coverage for assembly #110

Open
52 tasks
fabianschuiki opened this issue Apr 13, 2020 · 0 comments
Open
52 tasks

Improve test coverage for assembly #110

fabianschuiki opened this issue Apr 13, 2020 · 0 comments
Labels
A-assembly Area: Assembly reading and writing. A-test Area: Test cases and test execution. C-enhancement Category: Adding or improving on features.

Comments

@fabianschuiki
Copy link
Owner

fabianschuiki commented Apr 13, 2020

Add reader/writer test cases for every single instruction in all its variations. Probably the easiest way to perform the check would be to call llhd-conv with LLHD as input and output format, then check that the output matches the input.

Todo

  • add
  • alias
  • and
  • array
  • br
  • call
  • con
  • const
  • del
  • drv
  • eq
  • extf
  • exts
  • halt
  • insf
  • inss
  • inst
  • ld
  • mux
  • neg
  • neq
  • not
  • or
  • phi
  • prb
  • reg
  • ret
  • sdiv
  • sge
  • sgt
  • shl
  • shr
  • sig
  • sle
  • slt
  • smod
  • smul
  • srem
  • st
  • struct
  • sub
  • udiv
  • uge
  • ugt
  • ule
  • ult
  • umod
  • umul
  • urem
  • var
  • wait
  • xor
@fabianschuiki fabianschuiki added A-assembly Area: Assembly reading and writing. A-test Area: Test cases and test execution. C-enhancement Category: Adding or improving on features. labels Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-assembly Area: Assembly reading and writing. A-test Area: Test cases and test execution. C-enhancement Category: Adding or improving on features.
Projects
None yet
Development

No branches or pull requests

1 participant