- 25 Sep, 2021 4 commits
-
-
Rob Clark authored
bitset encoding tends to have a lot of duplication, for ex. many instructions with the same encoding modulo the fixed pattern. Now that encode_bitset is split out into it's own template, so that we can capture the result, use a hash table to de-duplicate the bitset encoding into "snippet" functions so that bitset cases with identical encoding can re-use the same generated code. Signed-off-by:
Rob Clark <robdclark@chromium.org>
-
Rob Clark authored
In the next patch, we are going to want to be able to capture the result of rendering the template as a py variable, which I don't think you can do otherwise with a <%def>. Signed-off-by:
Rob Clark <robdclark@chromium.org>
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@chromium.org>
-
Rob Clark authored
These were never used, leftovers from an earlier iteration of isaspec which used an RPN based thing for expressions. Signed-off-by:
Rob Clark <robdclark@chromium.org>
-
- 21 Sep, 2021 4 commits
-
-
Christian Gmeiner authored
This helps to get a really nice and aligend disasm output. Just use :align=X to define where in the line the field should be printed. Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Rob Clark <robdclark@chromium.org> Part-of: <!11321>
-
Christian Gmeiner authored
Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!11321>
-
Christian Gmeiner authored
To support field alignment we need to keep track of how much data we have printed to our out FILE. This is a prep commit. Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!11321>
-
Christian Gmeiner authored
This commit moves isaspec out of freedreno into a more generic new home - src/compiler/isaspec. Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!11321>
-