Adapt intel to be able to correctly choose compressed instruction encodings: create a register class to identify the lower 8 registers, omit unnecessary REX prefixes, and fix the tests

This commit is contained in:
Angus Holder
2017-09-22 00:49:21 +01:00
committed by Jakob Stoklund Olesen
parent 3b66c0be40
commit b003605132
5 changed files with 136 additions and 109 deletions

View File

@@ -15,7 +15,7 @@ runif() {
runif flake8 .
# Type checking.
runif mypy --py2 build.py
runif python3 -m mypy --py2 build.py
# Python unit tests.
runif python -m unittest discover