summaryrefslogtreecommitdiffstats
path: root/src/util/string_to_uint_map.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-05-15 16:53:25 -0700
committerKenneth Graunke <[email protected]>2017-06-01 11:49:45 -0700
commitdf2d55ba57dec857e4fb36ba3d9ec86aa3a46cd5 (patch)
tree7b6c71d2fa5ebb2dc4d1660d2715860b8cf27c6c /src/util/string_to_uint_map.cpp
parent845d07978f8eef9b87b952c430edcb8c2b50b1b5 (diff)
genxml: Fix parsing of address fields in groups.
For example, <group count="4" start="64" size="64"> <field name="Pointer" start="5" end="63" type="address"/> </group> used to generate: const uint64_t v2_address = __gen_combine_address(data, &dw[2], values->Pointer, 0); ... const uint64_t v4_address = __gen_combine_address(data, &dw[4], values->Pointer, 0); ... but now generates code with proper subscripts: const uint64_t v2_address = __gen_combine_address(data, &dw[2], values->Pointer[0], 0); ... const uint64_t v4_address = __gen_combine_address(data, &dw[4], values->Pointer[1], 0); ... Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/util/string_to_uint_map.cpp')
0 files changed, 0 insertions, 0 deletions