Home
last modified time | relevance | path

Searched refs:op_bits (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/amd/compiler/
Daco_validate.cpp479 unsigned op_bits = instr->operands[2].constantValue(); in validate_ir() local
482 check(op_bits == 8 || op_bits == 16, "Size must be 8 or 16", instr.get()); in validate_ir()
483 check(op_bits < data_bits, "Size must be smaller than source", instr.get()); in validate_ir()
485 check(op_bits == 8 || op_bits == 16 || op_bits == 32, in validate_ir()
487 check(data_bits >= op_bits, "Can't extract more bits than what the data has.", in validate_ir()
491 unsigned comp = data_bits / MAX2(op_bits, 1); in validate_ir()