Add minimal as/dis support for TOSA.001000.1 extended instruction set#6183
Add minimal as/dis support for TOSA.001000.1 extended instruction set#6183dneto0 merged 8 commits intoKhronosGroup:mainfrom
Conversation
Change-Id: Ieefcd9c9a46dc3021c1600c02f9be96c49641aa9 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
|
Headers: KhronosGroup/SPIRV-Headers#526 |
Change-Id: Ie0d1c5258367774451373f7d81e231e2fc674937
Change-Id: I34fbf54545ecb58a3bacdf1f711e22547e8b5666
|
So, it looks like SPIRV-Tools has its own logic to regenerate the SPIR-V headers when building with Bazel. I am not sure why but, assuming this will not change, it looks like I'm going to need Bazel definitions for the new instruction set added to the headers (KhronosGroup/SPIRV-Headers#527), a few changes to add the new instruction set to What direction do maintainers prefer? |
Sorry for the confusion: The error is that the bazel build can't find the TOSA header from spirv-headers: The fix is to add an entry for That's one flow. It does not (directly) use the generate_language_headers.py script in either repo. It uses the checked-in .h file. The Android.mk, the BUILD.gn flow (chromium) use
I think this implies I can do a bunch of cleanups. To get this PR to pass, we only need the update to BUILD.bazel in SPIRV-Headers. I'll make a PR for that. |
|
I posted KhronosGroup/SPIRV-Headers#529 With that, this PR builds on Bazel (tested on Linux). |
This reverts commit d4496b7.
Change-Id: I368598d93f94bc39ff71db56269bf1baeedf37c8
|
Thanks for the help with this PR David, much appreciated! I've approved and merged your SPIRV-Headers PR and picked it up here. This enabled progress but I'm still hitting a few issues. Going through the CI failures:
Looks like I'm missing a dependency in
It looks like the instruction set is not included in tables in Bazel builds. |
Change-Id: I265b9622ce86f3d86b68a523ccf849a0134b890b
Change-Id: Ifa2a94af00af09fbd5aa1ae48eeac0603aa5b5f0
Change-Id: I411737a0544187c0c01d9628df9a7b556490750e
|
So Bazel jobs are now passing but there are still a couple of failures that I don't think have anything to do with this PR:
|
|
|
The changes to BUILD.gn affect the GN build for Chromium. Unfortunately that build is not tested in this repo, but only when we (Chrome) tries to roll it into Chromium. I'll try to get this landed, then reapply the BUILD.gn changes soon after. |
|
Thank you! |
Change-Id: Ieefcd9c9a46dc3021c1600c02f9be96c49641aa9