Commit Graph

12716 Commits

Author SHA1 Message Date
Joern Rennecke b1bbe7328c sh.h (CONST_DOUBLE_OK_FOR_LETTER_P): always true for 'F' .
* sh.h (CONST_DOUBLE_OK_FOR_LETTER_P): always true for 'F' .
        (LEGITIMATE_CONSTANT_P): accept SFmode and DFmode.

From-SVN: r13020
1996-10-24 01:40:58 +01:00
Jim Wilson f8d9772e2f (a29k_makes_calls): New global variable.
(compute_regstack_size, a29k_compute_reg_names): New functions.
(output_prolog): Much code moved to two new functions.  Use
a29k_makes_calls instead of makes_calls.

From-SVN: r13019
1996-10-23 15:53:47 -07:00
Jim Wilson 469c300bac (ASM_DECLARE_FUNCTION_NAME): Call a29k_compute_reg_names.
From-SVN: r13018
1996-10-23 15:52:39 -07:00
Ian Lance Taylor b85f21c09b Accept a unary operator in constrain_operands
From-SVN: r13017
1996-10-23 22:02:32 +00:00
Ian Lance Taylor ff428c90a4 Accept a unary operator in find_reloads
From-SVN: r13016
1996-10-23 22:01:23 +00:00
Richard Kenner 1e1eb6c543 (MAKE_DECL_ONE_ONLY): Fix typo in use of macro parameter.
From-SVN: r13015
1996-10-23 17:48:29 -04:00
Richard Kenner fe81e4c4df (yylex): Cast string literal to U_CHAR* for lookup() call.
From-SVN: r13014
1996-10-23 17:46:10 -04:00
Richard Kenner e1c84e1d7a (choose_temp_base): On VMS, use proper syntax for current directory.
From-SVN: r13013
1996-10-23 17:36:37 -04:00
Richard Kenner 0eb7ad36a1 (combine_givs): When combining a DEST_REG giv with its only use,
always set the benefit of the combined giv to that of the DEST_REG giv.

From-SVN: r13012
1996-10-23 17:20:31 -04:00
Richard Kenner a80586cc2a (gen_lowpart_common): When converting a floating point value into an
integer, use WORD as (first) word.

From-SVN: r13011
1996-10-23 17:15:58 -04:00
Jim Wilson 059c3d849e (expand_call): In target code, move PARALLEL case above
target != case.

From-SVN: r13010
1996-10-23 13:27:44 -07:00
Jason Merrill dd98f85c9a return
From-SVN: r13009
1996-10-23 18:49:54 +00:00
Ian Lance Taylor bbae0daaaa Don't use shifts for extendsidi2
From-SVN: r13008
1996-10-23 18:16:59 +00:00
Jim Wilson 7cabe29ab9 (block_move_load_store, block_move_sequence): Delete.
(block_move_loop): New parameter orig_dest.  Call change_address to
create new MEM instead of gen_rtx.
(expand_block_move): New local orig_dest.  Pass it to block_move_loop.
Call change_address to create new MEM instead of gen_rtx.

From-SVN: r13007
1996-10-23 11:07:15 -07:00
Richard Kenner ecd4080946 (can_combine_p): When SMALL_REGISTER_CLASSES is defined, avoid
substituting a return register into I3.

From-SVN: r13006
1996-10-23 10:48:36 -04:00
Richard Kenner 02214a5c14 (emit_libcall_block): Before adding an REG_EQUAL note, check that it will really apply to a single instruction.
(emit_libcall_block): Before adding an REG_EQUAL note, check that it will
really apply to a single instruction.
(expand_binop, expand_fix): Likewise.

From-SVN: r13005
1996-10-23 10:30:26 -04:00
Richard Kenner 39647dcba5 (exact_real_inverse): Likewise, if no REAL_ARITHMETIC.
(fold, case RDIV_EXPR): Turn divide by constant into multiplication by the
reciprocal, if optimizing and result is exact.

From-SVN: r13004
1996-10-23 10:20:45 -04:00
Richard Kenner ebc8186bf6 (exact_real_inverse): Declare.
From-SVN: r13003
1996-10-23 10:20:24 -04:00
Richard Kenner cccc8091bc (exact_real_inverse): New function, if REAL_ARITHMETIC.
From-SVN: r13002
1996-10-23 10:20:10 -04:00
Torbjorn Granlund c0eccde6cf (emit_store_flag_force): Declare.
From-SVN: r13001
1996-10-23 04:15:02 +00:00
Ian Lance Taylor 34d6007ae0 Fix minor bugs in float_to_usi and dp_to_sf
From-SVN: r13000
1996-10-23 02:45:07 +00:00
Jim Wilson d1b9c52c2f (unroll_loop): Always reject loops with unbalanced blocks.
From-SVN: r12999
1996-10-22 15:31:18 -07:00
Ian Lance Taylor c9f99b6a23 Fix MIPS EABI when using -mips1 or -msoft-float
From-SVN: r12998
1996-10-22 22:30:50 +00:00
Ian Lance Taylor 27eb1ab6e7 Fix SETUP_INCOMING_VARARGS for TARGET_SINGLE_FLOAT || ! TARGET_FLOAT64
From-SVN: r12997
1996-10-22 22:29:33 +00:00
Ian Lance Taylor efcedf427c Fix mips_function_value for TARGET_SINGLE_FLOAT.
From-SVN: r12996
1996-10-22 22:28:41 +00:00
Michael Meissner 5100ad4664 Support libraries like x86 cygwin does
From-SVN: r12995
1996-10-22 13:46:07 +00:00
Jason Merrill 7d4440be74 .
From-SVN: r12994
1996-10-22 09:11:55 +00:00
Torbjorn Granlund bb60ac6305 (do_store_flag): Don't check if target is 0 in code
emitting store flag as compare-branch.

From-SVN: r12993
1996-10-22 00:26:25 +00:00
Richard Kenner ab6c58f120 (store_expr): Disable optimization of using convert if exp's type is a
subtype.

From-SVN: r12992
1996-10-21 19:11:08 -04:00
Jim Wilson 1dcfa896bd (loop_comparison_code): New static variable.
(unroll_loop): Add check for loop_comparison_code
(loop_iterations): Set loop_comparison_code.

From-SVN: r12991
1996-10-21 15:43:33 -07:00
Jim Wilson d00d338cdc (gen_shl_sext): Add missing parameter to shl_sext_kind call.
From-SVN: r12990
1996-10-21 15:28:24 -07:00
Jim Wilson d4fae0f5b9 (INITIAL_FRAME_POINTER_OFFSET): Delete.
From-SVN: r12989
1996-10-21 15:23:51 -07:00
Torbjorn Granlund 2335740444 (expand_binop): Use new function emit_store_flag_force.
From-SVN: r12988
1996-10-21 22:20:06 +00:00
Torbjorn Granlund 04a8ee2ff6 (emit_store_flag_force): New function.
From-SVN: r12987
1996-10-21 22:18:56 +00:00
Ian Lance Taylor 17964a96fa Correct MASK_64BIT to TARGET_64BIT
From-SVN: r12986
1996-10-21 22:02:15 +00:00
Jim Wilson 085daa5a3b (strength_reduce): Add check for ! bl->reversed to
auto_inc_opt code.

From-SVN: r12985
1996-10-21 10:58:18 -07:00
Doug Evans 04bd02461f jump.c (jump_optimize): fix bug in last change.
From-SVN: r12984
1996-10-21 16:27:41 +00:00
Richard Kenner aed1145228 (build_array_ref): If -Wchar-subscripts, also warn in case when
pointer is being indexed.

From-SVN: r12983
1996-10-21 07:59:10 -04:00
Richard Kenner 04d23d7c9f (jump_optimize): Use emit_store_flag even if branches are cheap, if
the store is even cheaper.

From-SVN: r12982
1996-10-21 07:39:13 -04:00
Brendan Kehoe 1cd4bca92c Formerly extend.texi.~110~
From-SVN: r12981
1996-10-21 07:27:51 -04:00
Richard Kenner 2edc8d65b8 (reload_reg_free_p, reloads_conflict): RELOAD_OTHER and
RELOAD_FOR_OTHER_ADDRESS conflict.

From-SVN: r12980
1996-10-20 20:53:14 -04:00
Richard Kenner 8a8920407b (ffs[sh]i2): Add missing CC_STATUS_INIT.
From-SVN: r12979
1996-10-20 20:01:02 -04:00
Mike Stump f49422dada 89th Cygnus<->FSF quick merge
From-SVN: r12978
1996-10-18 18:33:44 +00:00
Michael Meissner 170e0690ee Fix float conversions if sign extension in offset would occur
From-SVN: r12977
1996-10-18 17:35:40 +00:00
Jason Merrill f37230f0b4 tweak
From-SVN: r12976
1996-10-18 06:23:23 +00:00
Ian Lance Taylor 29a5d7cc71 Set TARGET_LONG64 for the EABI
From-SVN: r12975
1996-10-17 18:45:59 +00:00
Doug Evans 0cb1d109f4 expr.c (do_jump): Conditionalize cleanups for the COND_EXPR case...
* expr.c (do_jump): Conditionalize cleanups for the COND_EXPR case,
 	similarly to the way TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR are
 	handled.

From-SVN: r12974
1996-10-17 15:33:52 +00:00
Jim Wilson 74d1fb5aa1 (MASK_68040_ALSO): New macro.
(TARGET_SWITCHES): Option -m68020-40 includes MASK_68040_ALSO.

From-SVN: r12973
1996-10-16 22:19:54 -07:00
Jason Merrill ab72d37728 scoping
From-SVN: r12972
1996-10-16 21:45:08 +00:00
Jason Merrill fe1fd35341 irix6 ctors
From-SVN: r12971
1996-10-16 20:25:25 +00:00