[Mesa-dev] [PATCH 7/7] i965: Remove inst_info table from brw_eu_validate.
Francisco Jerez
currojerez at riseup.net
Thu Apr 28 19:47:21 UTC 2016
Matt Turner <mattst88 at gmail.com> writes:
> On Thu, Apr 28, 2016 at 12:19 AM, Francisco Jerez <currojerez at riseup.net> wrote:
>> At this point this doesn't contain any information not already in the
>> opcode_desc tables, the validation code can just call
>> brw_opcode_desc() in order to find out whether an instruction is
>> supported by the device.
>
> NAK. This table is intended to handle things other than the supported
> generation -- I sent patches that add more fields but they're in some
> review limbo state.
But you notice that this is kind of the killer feature you get from this
series (even though it wasn't its original motivation)?
The fact that we currently have to update twenty different places any
time a new instruction is introduced is quite terrible. If you need to
add additional per-instruction metadata please just put them into the
same table -- If there is some reason why you can't I'm afraid that the
current approach used in the validator won't work either and may have to
be reworked because of overlapping opcodes, but it seems better in the
long term and less work to just remove it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160428/102c2b05/attachment-0001.sig>
More information about the mesa-dev
mailing list