This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [hsa merge 08/10] HSAIL BRIG description header file


On Fri, Jan 15, 2016 at 06:23:05PM +0100, Martin Jambor wrote:
>   BRIG_KIND_OPERAND_REGISTER = 0x300a,
>   BRIG_KIND_OPERAND_STRING = 0x300b,
>   BRIG_KIND_OPERAND_WAVESIZE = 0x3009c,
>   BRIG_KIND_OPERAND_END = 0x300d

The above looks weird, I'd have expected BRIG_KIND_OPERAND_WAVESIZE
to be 0x300c instead.  Bug in the standard?
As typedef uint16_t BrigKind16_t;, I'm afraid this doesn't even fit
into the data type.  Note the original brig header you've posted
had this fixed.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]