irma_twos_complement = 2, /**< Values of the mode are represented as two's
complement. Only legal for modes of sort
int_number and reference. */
- irma_ones_complement, /**< Values of the mode are represented as one's
- complement. Only legal for modes of sort
- int_number and reference. */
- irma_int_BCD, /**< Values of the mode are represented as binary
- coded decimals. Only legal for modes of sort
- int_number and reference. */
irma_ieee754 = 256, /**< Values of the mode are represented according
to ieee754 floating point standard. Only
legal for modes of sort float_number. */
- irma_float_BCD, /**< Values of the mode are represented as binary
- coded decimals according to @@@ which
- standards??? Only legal for modes of sort
- float_number. */
irma_max
} ir_mode_arithmetic;
INSERTENUM(tt_mode_arithmetic, irma_uninitialized);
INSERTENUM(tt_mode_arithmetic, irma_none);
INSERTENUM(tt_mode_arithmetic, irma_twos_complement);
- INSERTENUM(tt_mode_arithmetic, irma_ones_complement);
- INSERTENUM(tt_mode_arithmetic, irma_int_BCD);
INSERTENUM(tt_mode_arithmetic, irma_ieee754);
- INSERTENUM(tt_mode_arithmetic, irma_float_BCD);
INSERTENUM(tt_pin_state, op_pin_state_floats);
INSERTENUM(tt_pin_state, op_pin_state_pinned);
X(irma_uninitialized);
X(irma_none);
X(irma_twos_complement);
- X(irma_ones_complement);
- X(irma_int_BCD);
X(irma_ieee754);
- X(irma_float_BCD);
default: return "<unknown>";
}
#undef X
if (ma != get_mode_arithmetic(dst))
return 0;
- return ma == irma_twos_complement || ma == irma_ones_complement;
+ return ma == irma_twos_complement;
}
ir_type *(get_type_for_mode) (const ir_mode *mode)