[PATCH 3/4] lib/gpgpu_shader: add inline support for iga64 assembly

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Fri May 10 10:42:46 UTC 2024


On Mon, Apr 29, 2024 at 02:08:19PM +0200, Andrzej Hajda wrote:
<cut>

> +# check if we need to recompile - checksum difference and compiler present
> +MD5_ASMS="$(for a in "${ASMS[@]}"; do echo "${a#*:}"; done | md5sum|cut -b1-32)"

Why not use:
MD5_ASMS=$(echo "${ASMS[@]}" | md5sum | cut -b1-32)

I'm not sure but your check doesn't support function (asm) rename.
--
Zbigniew


More information about the igt-dev mailing list