diff options
author | Paul Koning <ni1d@arrl.net> | 2010-12-31 06:43:48 -0500 |
---|---|---|
committer | Paul Koning <pkoning@gcc.gnu.org> | 2010-12-31 06:43:48 -0500 |
commit | 12eb6ed32b60013bee334c65cb576b55cf0e1cf4 (patch) | |
tree | df55d90642b79c23565d792b83509236e9b9f15d /gcc/config/pdp11/pdp11.h | |
parent | 4afeb65c3248e4ece2720ea616d9333bdedaf5ff (diff) | |
download | gcc-12eb6ed32b60013bee334c65cb576b55cf0e1cf4.zip gcc-12eb6ed32b60013bee334c65cb576b55cf0e1cf4.tar.gz gcc-12eb6ed32b60013bee334c65cb576b55cf0e1cf4.tar.bz2 |
pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.h (PRINT_OPERAND): Delete.
* config/pdp11/pdp11.c (TARGET_PRINT_OPERAND,
TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define
(pdp11_asm_print_operand, pdp11_asm_print_operand_punct_valid_p):
New function.
* config/pdp11/pdp11.md (tablejump): Fix generated assembly.
From-SVN: r168368
Diffstat (limited to 'gcc/config/pdp11/pdp11.h')
-rw-r--r-- | gcc/config/pdp11/pdp11.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index 37e0348..fc36f5b 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -658,27 +658,6 @@ extern struct rtx_def *cc0_reg_rtx; #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \ pdp11_asm_output_var (FILE, NAME, SIZE, ALIGN, false) -/* Print operand X (an rtx) in assembler syntax to file FILE. - CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified. - For `%' followed by punctuation, CODE is the punctuation and X is null. - -*/ - - -#define PRINT_OPERAND(FILE, X, CODE) \ -{ if (CODE == '#') fprintf (FILE, "#"); \ - else if (GET_CODE (X) == REG) \ - fprintf (FILE, "%s", reg_names[REGNO (X)]); \ - else if (GET_CODE (X) == MEM) \ - output_address (XEXP (X, 0)); \ - else if (GET_CODE (X) == CONST_DOUBLE && GET_MODE (X) != SImode) \ - { REAL_VALUE_TYPE r; \ - long sval[2]; \ - REAL_VALUE_FROM_CONST_DOUBLE (r, X); \ - REAL_VALUE_TO_TARGET_DOUBLE (r, sval); \ - fprintf (FILE, "$%#lo", sval[0] >> 16); } \ - else { putc ('$', FILE); output_addr_const_pdp11 (FILE, X); }} - /* Print a memory address as an operand to reference that memory location. */ #define PRINT_OPERAND_ADDRESS(FILE, ADDR) \ |