isaspec: encode: Correct used regex

The current regex misses the = sign and therefore fails to match
DST:align=16.

Fixes: 9e56f69edf ("isaspec: encode: handle special fieldname properties")
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25451>
This commit is contained in:
Christian Gmeiner 2023-08-30 17:12:16 +02:00 committed by Marge Bot
parent 2c9a59dcfc
commit ef602e77f6

View File

@ -134,7 +134,7 @@ class Case(object):
self.expr = None
if case.expr is not None:
self.expr = bitset.isa.expressions[case.expr]
self.fieldnames = re.findall(r"{([a-zA-Z0-9_:]+)}", case.display)
self.fieldnames = re.findall(r"{([a-zA-Z0-9_:=]+)}", case.display)
self.append_forced(bitset)
# remove special fieldname properties e.g. :align=