Commit Graph

17 Commits

Author SHA1 Message Date
Nick Clifton
6db34dd47b v850.h (ASM_OUTPUT_ALIGNED_BSS): Use asm_output_aligned_bss() instead of asm_output_bss().
* v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
        asm_output_aligned_bss() instead of asm_output_bss().

From-SVN: r17509
1998-01-27 03:19:24 -07:00
Anthony Green
c6aded7c2b flags.h: New flag (optimize_size).
* flags.h: New flag (optimize_size).
        * toplev.c (main): Parse -Os option and set optimize_space
        accordingly.
        * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
        __OPTIMIZE_SIZE__ when compiling with -Os.
        * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
        config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
        config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
        to macro.
        * config/i386/i386.c (optimization_options): Accept new SIZE argument.

From-SVN: r17497
1998-01-26 16:00:04 -07:00
Ian Lance Taylor
18543a2208 expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.
* expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
        expression.
        * stmt.c (expand_end_case): Likewise.
        * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
        * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
        * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise.

From-SVN: r17155
1997-12-19 09:43:29 -07:00
Jeff Law
956d69504d Merge from gcc-2.8
From-SVN: r16987
1997-12-06 17:31:01 -07:00
Jeffrey A Law
323d8e7b66 lib1funcs.asm: Minor whitespace changes.
* v850/lib1funcs.asm: Minor whitespace changes.
        * v850.c: Fix minor formatting problems in many places.
        (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.

From-SVN: r16471
1997-11-13 16:55:08 -07:00
Jeff Law
5a75af6284 Whitespace changes.
From-SVN: r16470
1997-11-13 16:49:41 -07:00
Jeffrey A Law
f762058716 mn10200.h (ASM_OUTPUT_BSS): Delete.
* mn10200.h (ASM_OUTPUT_BSS): Delete.
        (ASM_OUTPUT_ALIGNED_BSS): New macro
        * mn10300.h (ASM_OUTPUT_BSS): Delete.
        (ASM_OUTPUT_ALIGNED_BSS): New macro.
        * v850.h (ASM_OUTPUT_BSS): Delete.
        (ASM_OUTPUT_ALIGNED_BSS): New macro.

From-SVN: r16312
1997-11-04 13:38:45 -07:00
Nick Clifton
ddbd8d3619 v850.h: Move define of __v850__ from CPP_PREDEFINES to CPP_SPEC.
* v850.h: Move define of __v850__ from CPP_PREDEFINES
        to CPP_SPEC.

        * xm-v850.h: Use __v850 rather than __v850__ to
        identify v850 port.

From-SVN: r16126
1997-10-20 15:33:53 -06:00
Jim Wilson
1933ec7e4e v850.c (ep_memory_offset): New function.
* v850.c (ep_memory_offset): New function.
        (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.

        * v850.h (CONST_OK_FOR_*): Add and correct comments.
        (CONSTANT_ADDRESS_P): Add comment.
        (EXTRA_CONSTRAINT): Define 'U'.
        * v850.md: Add comments on bit field instructions.
        (addsi3): Delete &r/r/r alternative.  Add r/r/U alternative.
        (lshrsi3): Use N not J constraint.

        * v850.md (v850_tst1+1): New define_split for tst1 instruction.

        * v850.c (reg_or_0_operand): Call register_operand.
        (reg_or_int5_operand): Likewise.
        * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
        (TARGET_SWITCHES): Add "big-switch".
        (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
        ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
        (CASE_DROPS_THROUGH): Comment out.
        (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
        * v850.md (cmpsi): Delete compare mode.
        (casesi): New pattern.

        * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
        * v850.md (ashlsi3): Use SImode not QImode for shift count.
        (lshrsi3): Likewise.

        * v850.c (print_operand): Add 'c', 'C', and 'z' support.  Delete
        unreachable switch statement after 'b' support.  Remove "b" from
        strings for 'b' support.
        * v850.md (branch_normal, branch_invert): Change %b to b%b.

v850 patches from Jim.

From-SVN: r15992
1997-10-17 23:46:19 -06:00
Nick Clifton
b24bcfb3e6 v850.c (compute_register_save_size): Correct register number.
* v850.c (compute_register_save_size): Correct register
        number.
        * v850.md (save_interrupt, return_interrupt): Correct
        register number.
        * v850/lib1funcs.asm (save_interrupt): Correct register number.
        (return_interrupt): Use stack pointer, not element pointer.

From-SVN: r15550
1997-09-18 17:19:55 -06:00
Jeffrey A Law
4415850727 * v850.c (construct_save_jarl): Fix thinko in last change.
From-SVN: r15518
1997-09-17 14:09:41 -06:00
Nick Clifton
145870b56f v850.c (register_is_ok_for_epilogue, [...]): New functions.
* config/v850/v850.c (register_is_ok_for_epilogue,
        pattern_is_ok_for_epilogue, construct_restore_jr,
        pattern_is_ok_for_prologue, construct_save_jarl): New functions.

        * config/v850/v850.h (pattern_is_ok_for_prologue,
        pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
        predicates.

        * config/v850/v850.md: Replace prologue and epilogue patterns with a
        match_parallel pattern.

        * config/v850/v850.c (output_move_single_unsigned): Cope with zero
        extending and moving between registers at the same time.

Brought over from devo.

From-SVN: r15477
1997-09-16 00:13:27 -06:00
Jeff Law
9302e6e54c More formatting fixes.
From-SVN: r15476
1997-09-16 00:03:16 -06:00
Jeff Law
07f7a41acc Remove more CYGNUS LOCAL markers.
From-SVN: r15475
1997-09-15 23:52:35 -06:00
Jeff Law
5bfa6cfa3d Remove CYGNUS LOCAL markers.
From-SVN: r15474
1997-09-15 23:23:38 -06:00
Nick Clifton
74aca74bc3 v850.h (ASM_SPEC): Pass on target processor.
* v850.h (ASM_SPEC): Pass on target processor.
        (CPP_PREDEFINES): Only define if not already specified.
        (TARGET_VERSION): Only define if not already specified.
        (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
        processor.
        (EXTRA_SWITCHES): Extra entries in the switches array.
        (TARGET_DEFAULT): Set default target processor.

From-SVN: r15180
1997-09-09 09:06:54 -06:00
Jeff Law
ae180d84fc v850: New directory for v850 port.
Fri Sep  5 10:08:44 1997  Jeffrey A Law  (law@cygnus.com)

        * v850: New directory for v850 port.
        * v850/lib1funcs.asm: New file.
        * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
        * ginclude/va-v850.h: New file.
        * varargs.h, stdarg.h: Include va-mn10200.h.
        * configure.in (mn10200-*-*): New target.
        * Makefile.in (USER_H): Add va-mn10200.h.

From-SVN: r15103
1997-09-05 11:41:24 -06:00