intel/eu: print bytes instead of 32 bit hex value
authorSagar Ghuge <sagar.ghuge@intel.com>
Mon, 27 Aug 2018 17:23:19 +0000 (10:23 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 27 Aug 2018 18:07:39 +0000 (11:07 -0700)
commita1e3305f7538562e99b6bb80e9f84c4baa1c43ae
treeabd6236c033401f61c1ff6d50937138c04424022
parent440a988bd1478bb33dafcbb8575473bc643ae383
intel/eu: print bytes instead of 32 bit hex value

INTEL_DEBUG=hex prints 32 bit hex value and due to endianness of CPU
byte order is reversed. In order to disassemble binary files, print
each byte instead of 32 bit hex value.

v2: Print blank spaces in order to vertically align output of compacted
    instructions hex value with uncompacted instructions hex value.
    (Matt Turner)

v3: Fix line wrap at correct length

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_eu.c