Commit Graph

13 Commits

Author SHA1 Message Date
R. Kelley Cook 39d14ddaac Update FSF address.
From-SVN: r101314
2005-06-25 01:22:41 +00:00
David Edelsohn 0676d23702 Add 2004 to copyright notices.
From-SVN: r90457
2004-11-10 17:00:27 -05:00
David Edelsohn 943c15ed46 rs6000.md (define_attr "type"): Add two and three.
* config/rs6000/rs6000.md (define_attr "type"): Add two and three.
        Change multi-instruction sequences to new attribute.
        * config/rs6000/{40x.md,440.md,603.md,6xx.md,
        7450.md,7xx.md,8540.md,mpc.md,power4.md,power5.md,
        rios1.md,rios2.md,rs64.md}: Add descriptions for two and three.

From-SVN: r90456
2004-11-10 16:57:14 -05:00
Kazu Hirata c120724327 fptr.c: Fix comment typos.
* config/pa/fptr.c: Fix comment typos.
	* config/pa/pa-64.h: Likewise.
	* config/pa/pa.c: Likewise.
	* config/pa/pa.h: Likewise.
	* config/rs6000/603.md: Likewise.
	* config/rs6000/7xx.md: Likewise.
	* config/rs6000/darwin.h: Likewise.
	* config/rs6000/freebsd.h: Likewise.
	* config/rs6000/rs6000.c: Likewise.
	* config/rs6000/rs6000.md: Likewise.
	* config/rs6000/spe.h: Likewise.

From-SVN: r68947
2003-07-05 00:08:11 +00:00
David Edelsohn 8e8238f181 rs6000.md (define_attr "type"): Add insert_word.
* config/rs6000/rs6000.md (define_attr "type"): Add insert_word.
        (insvsi*): Add insert_word attribute.
        * config/rs6000/rs6000.c (rs6000_variable_issue): Add TYPE_INSERT_WORD.
        * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
        power4.md,rios1.md,rios2.md,rs64.md}: Add insert_word.

Co-Authored-By: Ayal Zaks <gcchaifa@us.ibm.com>

From-SVN: r67668
2003-06-09 13:16:15 -04:00
David Edelsohn 473f51b66a {603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease number of automata.
* config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
        number of automata.

        * config/rs6000/rs6000.c (symbol_ref_operand): Check
        SYMBOL_REF_FUNCTION_P on AIX.
        (current_file_function_operand): Same.
        * config/rs6000/rs6000.md (call,call_value): Force non-function
        symbol_ref into register on AIX.

From-SVN: r66385
2003-05-02 10:49:52 -04:00
David Edelsohn 02ca759501 rs6000.md (define_attr "type"): Add mfjmpr.
* config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
        (movsi_internal1): Use new mfjmpr attribute.
        (movhi_internal): Same.
        (movqi_internal): Same.
        (movcc_internal1): Same.
        (movdi_internal64): Same.
        * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
        power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
        * config/rs6000/40x.md: Add fpu_405.
        * config/rs6000/power4.md: Merge power4lsu and power4disp automata
        into power4misc automata.  Remove extraneous parentheses.
        * config/rs6000/440.md: New file.
        * config/rs6000/rs6000.c (processor_target_table): Add 440,
        440fp.  Rename 405f to 405fp.
        (function_arg_padding): Correct formatting.
        (rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.

From-SVN: r66336
2003-05-01 13:05:18 -04:00
Nick Clifton 5de601cf57 Replace "GNU CC" with "GCC"
From-SVN: r65549
2003-04-13 17:51:08 +00:00
David Edelsohn 9259f3b0f0 {40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md, [...]: Change mult_compare to imul_compare.
* config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
        power4.md,rios1.md,rios2.md,rs64.md}: Change mult_compare to
        imul_compare.  Add lmul_compare.
        * config/rs6000/power4.md: Bump some latencies.  Model extra cycle
        in second pair of dispatch slots.  Model stores more accurately.
        Tweak multiply model.  Add bypasses for CR instructions dependent
        on complicated compares.
        * config/rs6000/rs6000.md (mulsi3): Name imul_compare patterns.
        (muldi3): Add lmul_compare patterns.
        * config/rs6000/rs6000.c (rs6000_variable_issue): Move FPLOAD_UX
        and FPSTORE_UX to split instructions and add COMPARE,
        DELAYED_COMPARE, IMUL_COMPARE, LMUL_COMPARE, IDIV, LDIV.
        (rs6000_adjust_cost): Add IMUL_COMPARE and LMUL_COMPARE.
        (rs6000_rtx_costs): Separate POWER4 multiply case.

From-SVN: r65135
2003-04-01 13:05:46 -05:00
Vladimir Makarov 5e8006fa72 8540.md: New file.
2003-03-26  Vladimir Makarov  <vmakarov@redhat.com>

        * config/rs6000/8540.md: New file.

	* config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md,
	power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to
	reservations for imul.

	* config/rs6000/rs6000.md: Include 8540.md.  Change
	delayed_compare onto mult_compare for insns generating
	multiplication.
	(mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv):
	New type attribute values.

	* config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type
	fpsimple instead of fp.
	(*divsf3_gpr): Use type vecfdiv instead of fp.
	(spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple
	instead of vecfloat.
	(spe_evfsdive): Use type vecfdiv instead of vecfloat.
	(spe_brinc): Use type brinc instead of veccomplex.
	(spe_evaddw, spe_evaddiw): Use type vecsimple instead of
	veccomplex.
	(spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex.
	(*movv2si_internal, *movv1di_internal, *movv4hi_internal,
	*movv2sf_internal): Define type attribute values for all
	alternatives.
	(cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead
	of fpcompare.
	(tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple
	instead of fpcompare.

From-SVN: r64899
2003-03-26 16:24:54 +00:00
David Edelsohn a62bfff255 rs6000.md: (attr "type"): Add fast_compare.
* config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
        (add.,subf.,neg.): Change attribute to fast_compare.
        All DFA descriptions updated.

From-SVN: r63175
2003-02-20 14:31:30 -05:00
David Edelsohn aac77ea51f - Add copyright notices.
From-SVN: r62946
2003-02-15 17:04:30 -05:00
David Edelsohn b54cf83ae6 rs6000.h (processor_type): Add PPC440.
* config/rs6000/rs6000.h (processor_type): Add PPC440.
	* config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
	TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
	TARGET_SCHED_VARIABLE_ISSUE): Define.
	(rs6000_use_dfa_pipeline_interface): New function.
	(rs6000_multipass_dfa_lookahead): New Function.
	(rs6000_variable_issue): New function.
	(rs6000_adjust_cost): Add CMP and DELAYED_CR types.
	(rs6000_issue_rate): Add PPC440.
	* config/rs6000/rs6000.md (unspec list): Correct typo.
	(attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
	store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
	cmp, delayed_cr, mfcr, mtcr.
	(automata_option): Set "ndfa".
	(extendMMNN2): Update attributes.
	(movcc_internal1): Discourage move to non-cr0.  Update
	attributes.
	(movMM_update): Update attributes.
	(cmpMM_internal): Update attributes.
	(sCC CR materialization): Update attributes.
	(branch patterns): Do not discourage non-cr0.
	(cr logical patterns): Prefer destructive register allocation.
	Update attributes.
	(movesi_from_cr): Update attribute.
	(mtcrf_operation): Update attribute.
	(mtcrfsi): Update attribute.
	* config/rs6000/40x.md: New file.
	* config/rs6000/603.md: New file.
	* config/rs6000/6xx.md: New file.
	* config/rs6000/7450.md: New file.
	* config/rs6000/7xx.md: New file.
	* config/rs6000/mpc.md: New file.
	* config/rs6000/power4.md: New file.
	* config/rs6000/rios1.md: New file.
	* config/rs6000/rios2.md: New file.
	* config/rs6000/rs64.md: New file.
	[Some DFA descriptions based on work by Michael Hayes]

From-SVN: r62943
2003-02-15 16:19:01 -05:00