Lib/v3d/instr/SmallImm.cpp
/**
 * @return true if conversion succeeded, false otherwise
 */
@return true if conversion succeeded, false otherwise
@return true if conversion succeeded false otherwise
bool SmallImm::int_to_opcode_value(int value, int &rep_value) {
  if (-16 <= value && value <= 15) {  
    rep_value = (int) value;
    return true;
  }
  return false;
}
bool SmallImm :: int_to_opcode_value ( int value , int & rep_value ) { if ( -16 <= value && value <= 15 ) { rep_value = ( int ) value ; return true ; } return false ; }
@return true if conversion succeeded, false otherwise
@return true if conversion succeeded false otherwise
// This is the range of legal int values for small imm