1. 07 Sep, 2007 1 commit
    • stdfix.h: New file. · 0f996086
      	* ginclude/stdfix.h: New file.
      	* Makefile.in (USER_H): Add $(srcdir)/ginclude/stdfix.h.
      	(convert.o): Add dependence on fixed-value.h.
      	* c-convert.c (convert): Support FIXED_POINT_TYPE.
      	* c-cppbuiltin.c (builtin_define_fixed_point_constants): New function
      	to define fixed-point constants.
      	(c_cpp_builtins): Define fixed-point constants.
      	* convert.c (fixed-value.h): New include.
      	(convert_to_real): Update comment to include fixed-point.
      	Support FIXED_POINT_TYPE.
      	(convert_to_integer): Update comment to include fixed-point.
      	Support FIXED_POINT_TYPE.
      	(convert_to_complex): Support FIXED_POINT_TYPE.
      	(convert_to_fixed): New function.
      	* convert.h (convert_to_fixed): Declare.
      	* genopinit.c: Add comment about $Q for only fixed-point modes.
      	(optabs): Add fract_optab, fractuns_optab, satfract_optab,
      	satfractuns_optab, add_optab, ssadd_optab, usadd_optab, sub_optab,
      	sssub_optab, ussub_optab, smul_optab, ssmul_optab, usmul_optab,
      	ssmadd_widen_optab, usmadd_widen_optab, ssdiv_optab, udiv_optab,
      	usdiv_optab, ssashl_optab, usashl_optab, neg_optab, ssneg_optab,
      	usneg_optab for fixed-point modes.
      	(gen_insn): Add force_fixed to track the $Q format for all fixed-point
      	modes.
      	* optabs.c (optab_for_tree_code): For *DIV_EXPR, LSHIFT_EXPR,
      	PLUS_EXPR, MINUS_EXPR, MULT_EXPR, NEGATE_EXPR, return signed or
      	unsigned saturation optabs, when type is saturating.
      	(shift_optab_p): Return true for SS_ASHIFT or US_ASHIFT.
      	(expand_fixed_convert): New function.
      	(gen_fixed_libfunc, gen_signed_fixed_libfunc,
      	gen_unsigned_fixed_libfunc, gen_int_fp_fixed_libfunc,
      	gen_int_fp_signed_fixed_libfunc, gen_int_fixed_libfunc,
      	gen_int_signed_fixed_libfunc, gen_int_unsigned_fixed_libfunc,
      	gen_fract_conv_libfunc, gen_fractuns_conv_libfunc,
      	gen_satfract_conv_libfunc, gen_satfractuns_conv_libfunc): New
      	functions.
      	(init_optabs): Initialize ssadd_optab, usadd_optab, sssub_optab,
      	ussub_optab, ssmul_optab, usmul_optab, ssmadd_widen_optab,
      	usmadd_widen_optab, ssmsub_widen_optab, usmsub_widen_optab,
      	ssdiv_optab, usdiv_optab, ssashl_optab, usashl_optab, ssneg_optab,
      	usneg_optab, fract_optab, fractuns_optab, satfract_optab,
      	satfractuns_optab.
      	Initialize fixed-point libraries, including add, ssadd, usadd, sub,
      	sssub, ussub, mul, ssmul, usmul, div, ssdiv, udiv, usdiv, ashl,
      	ssashl, usashl, ashr, lshr, neg, ssneg, usneg, cmp, fract, satfract,
      	fractuns, satfractuns.
      	* optabs.h (enum optab_index): Add OTI_ssadd, OTI_usadd, OTI_sssub,
      	OTI_ussub, OTI_ssmul, OTI_usmul, OTI_ssdiv, OTI_usdiv, OTI_ssneg,
      	OTI_usneg, OTI_ssashl, OTI_usashl, OTI_ssmadd_widen, OTI_usmadd_widen,
      	OTI_ssmsub_widen,  OTI_usmsub_widen.
      	(ssadd_optab, usadd_optab, sssub_optab, ussub_optab, ssmul_optab,
      	usmul_optab, ssdiv_optab, usdiv_optab, ssneg_optab, usneg_optab,
      	ssashl_optab, usashl_optab, ssmadd_widen_optab, usmadd_widen_optab,
      	umsub_widen_optab, usmsub_widen_optab): Define.
      	(enum convert_optab_index): Add COI_fract, COI_fractuns, COI_satfract,
      	COI_satfractuns.
      	(fract_optab, fractuns_optab, satfract_optab, satfractuns_optab):
      	Define.
      	(expand_fixed_convert): Declare.
      	* expr.c (convert_move): Support the move of fixed-point modes.
      	(emit_move_insn_1): Handle fixed-point mode to move via integer.
      	(categorize_ctor_elements_1): Handle FIXED_CST.
      	(count_type_elements): Handle FIXED_POINT_TYPE.
      	(expand_expr_real_1): For VECTOR_CST, check MODE_VECTOR_FRACT,
      	MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM.
      	Support FIXED_CST.
      	For PLUS_EXPR and MINUS_EXPR, support saturating and non-saturating
      	multiply and add/subtract for fixed-point types.
      	For MULT_EXPR, *DIV_EXPR, *SHIFT_EXPR, if the mode if a fixed-point
      	mode, we jump to binop directly.
      	Support FIXED_CONVERT_EXPR.
      	(do_store_flag): Check FIXED_CST to put a constant second.
      	(vector_mode_valid_p): Handle MODE_VECTOR_FRACT,
      	MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM.
      	(const_vector_from_tree): Support FIXED_CST.
      	* doc/extend.texi (Fixed-Point): New node.
      	* doc/md.texi (ssadd, usadd, sssub, ussub, ssmul, usmul, ssdiv, usdiv,
      	ssmadd, usmadd, ssmsub, usmsub, ssashl, usashl, ssneg, usneg, fract,
      	satfract, fractuns, satfractuns): Document them.
      
      From-SVN: r128218
      Chao-ying Fu committed
  2. 26 Jul, 2007 1 commit
  3. 25 Jun, 2005 1 commit
  4. 15 Jun, 2004 1 commit
  5. 29 Jun, 2003 1 commit
  6. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  7. 24 Jun, 2000 1 commit
  8. 14 Jan, 2000 1 commit
    • cccp.c: PROTO -> PARAMS. · 83d2b3b9
      	* cccp.c: PROTO -> PARAMS.
      	* cexp.y: Likewise.
      	* collect2.c: Likewise.
      	* combine.c: Likewise.
      	* convert.h: Likewise.
      	* cse.c: Likewise.
      	* dbxout.c: Likewise.
      	* dbxout.h: Likewise.
      	* diagnostic.c: Likewise.
      	* doprint.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarf2out.h: Likewise.
      	* dwarfout.c: Likewise.
      	* dwarfout.h: Likewise.
      	* dyn-string.h: Likewise.
      
      From-SVN: r31399
      Kaveh R. Ghazi committed
  9. 15 Jun, 1995 1 commit
  10. 04 Mar, 1993 1 commit
  11. 09 Jan, 1993 2 commits