Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
static inline uint64_t
brw_inst_bits(const brw_inst *inst, unsigned high, unsigned low)
{
+ assert(high < 128);
assert(high >= low);
/* We assume the field doesn't cross 64-bit boundaries. */
const unsigned word = high / 64;
static inline void
brw_inst_set_bits(brw_inst *inst, unsigned high, unsigned low, uint64_t value)
{
+ assert(high < 128);
assert(high >= low);
const unsigned word = high / 64;
assert(word == low / 64);