hsail: Fix a warning/build failure for HSAIL_X86.
authorGabe Black <gabeblack@google.com>
Tue, 27 Nov 2018 03:12:52 +0000 (19:12 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 27 Nov 2018 22:02:50 +0000 (22:02 +0000)
commit529c07c1c53b484e1876decb3d4d808f289096b5
tree8c4e19648ba82aed075655554a7b1afce38d5a9d
parent12311c5540e69750b39f1f2e476546cdf05d1f3e
hsail: Fix a warning/build failure for HSAIL_X86.

The Bitselect operation definition used ~ to invert the bits of a mask
value, but if that mask value is of type bool, that generates a
warning. This change casts that value to a uint64_t so that it can
always have ~ applied to it.

Change-Id: I7fbfc6ff264bc32a265f2724c772b8fae08590f7
Reviewed-on: https://gem5-review.googlesource.com/c/14655
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/arch/hsail/gen.py