Lines Matching refs:constant

99 /* Chars that mean this number is a floating point constant as in 0f12.456  */
645 /* Turn a string in input_line_pointer into a floating point constant
857 cur_arg->constant = cr16_ins->exp.X_add_number;
1072 /* Set constant. */
1082 /* Set displacement constant. */
1111 /* Set displacement constant. */
1143 /* Set displacement constant. */
1281 cur_arg->constant = 0;
1409 insn->arg[0].constant = gettrap (operands);
1665 /* Print a constant value to 'output_opcode':
1668 NBITS determines the size (in bits) of the constant. */
1675 long constant = getconstant (arg->constant, nbits);
1681 /* mask the upper part of the constant, that is, the bits
1686 /* Divide the constant between two consecutive words :
1693 CR16_PRINT (0, (constant >> WORD_SHIFT) & mask, 0);
1694 CR16_PRINT (1, (constant & 0xFFFF), WORD_SHIFT);
1702 /* mask the upper part of the constant, that is, the bits
1707 /* Divide the constant between two consecutive words :
1718 CR16_PRINT (0, ((constant >> WORD_SHIFT) & mask) << 8, 0);
1719 CR16_PRINT (1, (constant & 0xFFFF), WORD_SHIFT);
1723 CR16_PRINT (0, (((((constant >> WORD_SHIFT) & mask) << 8) & 0x0f00) | ((((constant >> WORD_SHIFT) & mask) >> 4) & 0xf)),0);
1724 CR16_PRINT (1, (constant & 0xFFFF), WORD_SHIFT);
1728 CR16_PRINT (0, constant, shift);
1736 CR16_PRINT (0, ((constant)&0xf), shift); // 0-3 bits
1737 CR16_PRINT (0, ((constant>>4)&0x3), (shift+20)); // 4-5 bits
1738 CR16_PRINT (0, ((constant>>6)&0x3), (shift+14)); // 6-7 bits
1739 CR16_PRINT (0, ((constant>>8)&0x3f), (shift+8)); // 8-13 bits
1742 CR16_PRINT (0, constant, shift);
1748 /* When instruction size is 3 and 'shift' is 16, a 16-bit constant is
1750 write it to output_opcode[0], the constant prefix (that is, 'match')
1759 CR16_PRINT (1, constant, WORD_SHIFT);
1761 CR16_PRINT (0, constant, shift);
1765 CR16_PRINT (0, ((constant/2)&0xf), shift);
1766 CR16_PRINT (0, ((constant/2)>>4), (shift+8));
1770 CR16_PRINT (0, constant, shift);
1779 NBITS determines the size (in bits) of a constant operand. */
2011 unsigned int count = insn->arg[0].constant, reg_val;
2037 the count constant should be validated. */
2065 if ((1 << getreg_image (insn->arg[0].r)) & insn->arg[1].constant)
2083 && ((insn->arg[0].constant) > 0xF00000))
2085 insn->arg[0].constant &= 0xFFFFF;
2121 /* Nonzero if a constant was found within the required range. */
2125 /* Argument number of an operand with invalid constant value. */
2127 /* Operand error (used for issuing various constant error messages). */
2139 /* Instruction has no operands -> only copy the constant opcode. */
2200 /* Only check range - don't update the constant's value, since the
2202 The constant's value will be updated later, right before printing
2205 && (op_error = check_range (&insn->arg[i].constant, cur_size[i],
2278 /* This time, update constant value before printing it. */
2280 && (check_range (&insn->arg[j].constant, cur_size[j],
2413 && ((&cr16_ins)->arg[0].constant >= 0))