void dw2_asm_output_data (int size, unsigned HOST_WIDE_INT value, const char *comment, ...) { va_list ap; const char *op = integer_asm_op (size, FALSE); va_start (ap, comment); if (size * 8 < HOST_BITS_PER_WIDE_INT) value &= ~(~(unsigned HOST_WIDE_INT) 0 << (size * 8)); if (op) { fputs (op, asm_out_file); fprint_whex (asm_out_file, value); } else assemble_integer (GEN_INT (value), size, BITS_PER_UNIT, 1); if (flag_debug_asm && comment) { fputs ("\t" ASM_COMMENT_START " ", asm_out_file); vfprintf (asm_out_file, comment, ap); } putc ('\n', asm_out_file); va_end (ap); }
void dw2_assemble_integer (int size, rtx x) { const char *op = integer_asm_op (size, FALSE); if (op) { fputs (op, asm_out_file); if (CONST_INT_P (x)) fprint_whex (asm_out_file, (unsigned HOST_WIDE_INT) INTVAL (x)); else output_addr_const (asm_out_file, x); } else assemble_integer (x, size, BITS_PER_UNIT, 1); }
void dw2_assemble_integer (int size, rtx x) { const char *op = integer_asm_op (size, FALSE); if (op) { fputs (op, asm_out_file); if (GET_CODE (x) == CONST_INT) fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX, INTVAL (x)); else output_addr_const (asm_out_file, x); } else assemble_integer (x, size, BITS_PER_UNIT, 1); }