jacobly0 / llvm-project

This fork of the canonical git mirror of the LLVM subversion repository adds (e)Z80 targets. Please refer to the wiki for important build instructions.
https://github.com/jacobly0/llvm-project/wiki
123 stars 15 forks source link

[Z80] Add feature to enable SLI/SLL instruction #2

Closed b-s-a closed 2 years ago

b-s-a commented 5 years ago

Also this patch contains fix for requirements for TST instruction (it is documented since Z180).

b-s-a commented 5 years ago

Some features may on may not be enabled on cpu implementations. For example, I use my own ez80 implementation (z80 mode only) with sli, but without in f,(c), out (c),0, and all FD/DD CB dd xx. R800 supports in f,(c), but do not sli and others. So putting all these ops under one flag will cause later refactoring.

Also, I try to implement AsmParser but codegen causes lot of errors.