• Eric Anholt's avatar
    broadcom: Add V3D 3.3 QPU instruction pack, unpack, and disasm. · 05c7d971
    Eric Anholt authored
    Unlike VC4, I've defined an unpacked instruction format with pack/unpack
    functions to convert to 64-bit encoded instructions.  This will let us
    incrementally put together our instructions and validate them in a more
    natural way than the QPU_GET_FIELD/QPU_SET_FIELD used to.
    
    The pack/unpack unfortuantely are written by hand.  While I could define
    genxml for parts of it, there are many special cases (like operand order
    of commutative binops choosing which binop is being performed!) and it
    probably wouldn't come out much cleaner.
    
    The disasm unit test ensures that we have the same assembly format as
    Broadcom's internal tools, other than whitespace changes.
    
    v2: Fix automake variable redefinition complaints, add test to .gitignore
    05c7d971
Name
Last commit
Last update
bin Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...