Commit Graph

3678 Commits

Author SHA1 Message Date
Richard Stallman 74428a8ece Declare vars to hold complex types.
From-SVN: r3641
1993-03-04 19:42:36 +00:00
Richard Stallman c050422f1e (convert): Handle conversion to complex type.
From-SVN: r3640
1993-03-04 19:42:13 +00:00
Richard Stallman 0b1278213b (convert_to_real): Convert complex to real.
(convert_to_integer): Likewise.
(convert_to_complex): New function.

From-SVN: r3639
1993-03-04 19:41:50 +00:00
Richard Stallman 766f6c304d (truthvalue_conversion): Handle COMPLEX_EXPR.
From-SVN: r3638
1993-03-04 19:36:42 +00:00
Richard Stallman 1cc1b11a2e (fold): Handle complex constants as "winning".
Handle REALPART_EXPR and IMAGPART_EXPR.

From-SVN: r3637
1993-03-04 19:35:40 +00:00
Torbjorn Granlund 8365d59ba2 (output_ior): Don't handle reg operands.
From-SVN: r3636
1993-03-04 18:50:56 +00:00
Torbjorn Granlund d5db69224e (recognizer for general uaddcm): New pattern.
(iorsi3): New DEFINE_EXPAND.
(iorsi3 recognizer for [reg reg]): Now unnamed.
Put output template here, don't call output_ior.

From-SVN: r3635
1993-03-04 18:50:18 +00:00
Richard Stallman 47cc012b65 (dbxout_type): Handle complex integer types.
From-SVN: r3634
1993-03-04 18:47:42 +00:00
Richard Stallman 122026c09f (init_lex): Initialize rid pointers for complex.
(yylex): Handle i or j in numeric constant.

From-SVN: r3633
1993-03-04 18:34:10 +00:00
Steve Chamberlain cbd6e725d4 (h8300hds): Change hds to hms.
From-SVN: r3632
1993-03-04 18:10:15 +00:00
Steve Chamberlain 07aae5c24e New file.
From-SVN: r3631
1993-03-04 18:05:40 +00:00
Steve Chamberlain f82eca4d69 New File.
From-SVN: r3630
1993-03-04 18:02:42 +00:00
Richard Stallman 43517f90ee (RID_COMPLEX): New constant.
From-SVN: r3629
1993-03-04 17:59:30 +00:00
Richard Stallman 0c1261919d Add `__complex', `__complex__'.
Add `__iterator'.  Delete `iterator'.

From-SVN: r3628
1993-03-04 17:59:12 +00:00
Michael Meissner 1763b229fd Add missing \ before return inside string.
From-SVN: r3627
1993-03-04 15:39:20 +00:00
Michael Meissner b29e212cdd Add missing comma.
From-SVN: r3626
1993-03-04 15:32:55 +00:00
Richard Stallman 8e27715a9a (build_complex): Set the TREE_TYPE based on real part.
From-SVN: r3625
1993-03-03 21:25:11 +00:00
Per Bothner 742e43a2fa Define and use new function build_range_type.
From-SVN: r3624
1993-03-03 12:35:27 -08:00
Torbjorn Granlund c8d6697caa (lhs_lshift_operand): New function.
(lhs_lshift_cint_operand): New function.
(print_operand): Handle L and P for bit field instructions.

From-SVN: r3623
1993-03-03 14:48:17 +00:00
Torbjorn Granlund 95246213bd (ashlsi3): Use lhs_lshift_operand for operand 1.
Call gen_zvdep_imm when operand 1 is a CONST_INT.
(zvdep_imm): New pattern.
(ashift recognizer for [reg const_int]): Use %P and %L
output modifiers.
(ashiftrt recognizer for [reg const_int]): Likewise.
(lshrsi3): Likewise.
(rotrsi3): Reduce integer argument to 5 bits.
Remove some empty lines.

From-SVN: r3622
1993-03-03 14:47:15 +00:00
Torbjorn Granlund e150ae4fbe (pa_adjust_cost): Replace, the function of Mar 2 was an old version.
(output_fp_move_double): Use %r syntax for registers.

From-SVN: r3621
1993-03-03 14:38:13 +00:00
Richard Kenner d36d70cc52 (assemble_variable): Update comment.
From-SVN: r3620
1993-03-03 07:34:03 -05:00
Per Bothner b238f8def3 Define and use new function dbxout_range_type.
From-SVN: r3619
1993-03-02 22:46:43 -08:00
Per Bothner 442cb32d53 Clarify comment on INTEGER_TYPE.
From-SVN: r3618
1993-03-02 22:46:43 -08:00
Richard Stallman bd814d9779 (main): Use strlen, not sizeof, for our_file_name.
From-SVN: r3617
1993-03-03 04:43:37 +00:00
Richard Kenner 03407c7527 (collect_iterators): Handle simple expressions quickly.
Don't try to interpret operands that are RTL as if they were trees.

From-SVN: r3616
1993-03-02 19:01:48 -05:00
Richard Kenner be8dcd745f (regclass): Don't set REGNO_POINTER_FLAG here.
(reg_scan_mark_refs): Set it here.
Accept INSN, not UID as arg.
(reg_scan): Call reg_scan_mark_refs with INSN, not UID.

From-SVN: r3615
1993-03-02 18:59:33 -05:00
Richard Kenner 78c02237e2 Fix typo.
From-SVN: r3614
1993-03-02 18:57:59 -05:00
Jim Wilson dea2643ccd (write_const_num_delay_slots): Output 'rtx insn' not
'rtx *insn' for const_num_delay_slot argument.

From-SVN: r3613
1993-03-02 13:23:48 -08:00
Jim Wilson afcd8a020f (main): Truncate programname to what is after last slash.
From-SVN: r3612
1993-03-02 13:19:37 -08:00
Jim Wilson 6d34466a6a (do_include): Warn if find unreadable header file.
(errno.h): Move outside VMS specific section.

From-SVN: r3611
1993-03-02 13:17:19 -08:00
Jim Wilson b3b1e8bd9c (print_operand): Use output_operand_lossage, not abort.
From-SVN: r3610
1993-03-02 13:13:35 -08:00
Jim Wilson 46b68a3769 (expand_builtin, BUILT_IN_FRAME_ADDRESS case): Use new
macros SETUP_FRAME_ADDRESSES and RETURN_ADDR_IN_PREVIOUS_FRAME.

From-SVN: r3609
1993-03-02 13:10:49 -08:00
Jim Wilson 953fe17998 (SETUP_FRAME_ADDRESS, DYNAMIC_CHAIN_ADDRESS,
RETURN_ADDR_IN_PREVIOUS_FRAME, RETURN_ADDR_RTX): Define.

From-SVN: r3608
1993-03-02 13:09:17 -08:00
Jim Wilson 4893584c6c (flush_register_windows, goto_handler_and_restore):
Give names to these patterns so they are easier to use.

From-SVN: r3607
1993-03-02 13:08:43 -08:00
Jim Wilson 51ec237564 (relax_delay_slots): Delete jump around insn identical
to the insn in its delay slot.

From-SVN: r3606
1993-03-02 13:05:09 -08:00
Jim Wilson fda792c6b6 (i960_output_call_insn): Delete scratch_reg arg. Use r3 instead.
From-SVN: r3605
1993-03-02 13:03:13 -08:00
Jim Wilson b6744f97de (call_internal*): Use hard register 19 (r3) in clobber
instead of match_scratch.

From-SVN: r3604
1993-03-02 13:02:47 -08:00
Jim Wilson e770968be5 (mov*): Only accept store zero to memory insn if
rtx_equal_function_value_matters is zero.

From-SVN: r3603
1993-03-02 13:00:24 -08:00
Jim Wilson 778ebe6285 (rtx_equal_function_value_matters): Declare.
From-SVN: r3602
1993-03-02 12:59:56 -08:00
Jim Wilson d508ebba63 (gen_sequence): Add push_obstacks_nochange and
pop_obstacks calls around rtl_in_saveable_obstack call.

From-SVN: r3601
1993-03-02 12:55:53 -08:00
Jim Wilson 2260924f01 (immed_double_const, immed_real_const_1): Likewise.
From-SVN: r3600
1993-03-02 12:55:18 -08:00
Jim Wilson 02e39be120 (rtl_in_saveable_obstack): Always switch to saveable_obstack.
Return type now void instead of int.

From-SVN: r3599
1993-03-02 12:54:45 -08:00
Richard Stallman 4b3f0a5b28 (link_command_spec): Do nothing if -fsyntax-only.
From-SVN: r3598
1993-03-02 19:57:36 +00:00
Torbjorn Granlund 780f491fa4 (pa_adjust_cost): New procudure.
From-SVN: r3597
1993-03-02 19:21:27 +00:00
Torbjorn Granlund 1150aa7087 (ADJUST_COST): Add new definition.
From-SVN: r3596
1993-03-02 19:21:13 +00:00
Richard Stallman 66c432a7ee (output_function_prologue): Use m68k svr4 PIC format to load the address of...
(output_function_prologue): Use m68k svr4 PIC format to
load the address of _GLOBAL_OFFSET_TABLE_ into PIC_OFFSET_TABLE_REG
in function prologue when doing PIC.

(print_operand_address): Always add "@GOT" suffix for the
global object operand when doing PIC.

From-SVN: r3595
1993-03-02 18:10:41 +00:00
Richard Stallman 2b362d2c86 (truncdfsf2+2): Use f%$move instead of fsmove.
(fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2):
Use %# instead of #.

(call, call_value): Set SYMBOL_REF_FLAG for the called
function symbol_ref rtx.  In PIC mode, output `bsr FUNC@PLTPC'
when the operand is symbol_ref.

From-SVN: r3594
1993-03-02 18:09:59 +00:00
Richard Stallman 24e3324a7f (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Use SIZE instead of ROUNDED.
(ASM_OUTPUT_CASE_LABEL): Always use `swbeg' syntax to
output switch table (m68k.md depends on this to happen).

(LEGITIMATE_PIC_OPERAND_P): Treat a symbol_ref rtx with
SYMBOL_REF_FLAG set a valid PIC operand.

(OVERRIDE_OPTIONS): Turn off function cse when doing pic.

From-SVN: r3593
1993-03-02 18:07:56 +00:00
Richard Stallman aa0cd7a228 (gen_move_insn): Big `if' applies only for MODE_CC class.
From-SVN: r3592
1993-03-02 07:18:06 +00:00