diff options
author | David Edelsohn <edelsohn@gnu.org> | 2000-01-04 20:09:19 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2000-01-04 15:09:19 -0500 |
commit | e1565e6588aaf9e7062ff462cb22840f4e66b8c7 (patch) | |
tree | 8bb48a44401bc6bcd038457e6237820e598dfc94 /gcc/config/dsp16xx | |
parent | 399b9016a73cf485b8f1863ae21e5cf06e6f6273 (diff) | |
download | gcc-e1565e6588aaf9e7062ff462cb22840f4e66b8c7.zip gcc-e1565e6588aaf9e7062ff462cb22840f4e66b8c7.tar.gz gcc-e1565e6588aaf9e7062ff462cb22840f4e66b8c7.tar.bz2 |
expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters to default definition.
* expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
to default definition.
(store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
(store_fixed_bit_field): Call macro with word_mode and alignment.
(extract_bit_field): Call macro with relevant mode and alignment.
* expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
to default definition.
(move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
and alignment.
(move_by_pieces_ninsns): Likewise.
(clear_by_pieces): Likewise.
(emit_push_insn): Likewise.
(store_field): Call macro with relevant mode and alignment.
(expand_expr): Likewise.
(expand_expr_unaligned): Likewise.
* rs6000.h (HANDLE_PRAGMA_PACK): Define.
(SLOW_UNALIGNED_ACCESS): Define.
(CASE_VECTOR_MODE): Always use 32-bit offsets.
(ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
(EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
(toc_section): Likewise and .toc pseudo-op.
(ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
64-bit mode.
(TEXT_SECTION_ASM_OP): Likewise.
(ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
32-bit offsets.
* a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
* alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
* arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
* gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
* fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
From-SVN: r31211
Diffstat (limited to 'gcc/config/dsp16xx')
-rw-r--r-- | gcc/config/dsp16xx/dsp16xx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/dsp16xx/dsp16xx.h b/gcc/config/dsp16xx/dsp16xx.h index 5d96207..625deaf 100644 --- a/gcc/config/dsp16xx/dsp16xx.h +++ b/gcc/config/dsp16xx/dsp16xx.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. AT&T DSP1600. - Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1994, 95-98, 2000 Free Software Foundation, Inc. Contributed by Michael Collison (collison@world.std.com). This file is part of GNU CC. @@ -1571,7 +1571,7 @@ extern struct dsp16xx_frame_info current_frame_info; /* Define this macro if unaligned accesses have a cost many times greater than aligned accesses, for example if they are emulated in a trap handler */ -/* define SLOW_UNALIGNED_ACCESS */ +/* define SLOW_UNALIGNED_ACCESS(MODE, ALIGN) */ /* Define this macro to inhibit strength reduction of memory addresses */ /* #define DONT_REDUCE_ADDR */ |