OSDN Git Service

aubinator: Simplify print_dword_val() method
authorSirisha Gandikota <Sirisha.Gandikota@intel.com>
Tue, 13 Sep 2016 23:19:29 +0000 (16:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Sep 2016 23:32:24 +0000 (16:32 -0700)
commit5d2440532f8ffe80faa9b818fa0c1abff312486f
treec85f854b4485375d294d7341edafbcdb9b9e96a9
parent1eebb60917d0d4462eb16c72d17050d5d21d438a
aubinator: Simplify print_dword_val() method

Remove the float/dword union and use the iter->p[f->start / 32]
directly as printf formatter %08x expects uint32_t (Ken)

v2: Make the cleanup much more crispier (Ken)

Signed-off-by: Sirisha Gandikota <Sirisha.Gandikota@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/aubinator.c