1. 19 Jun, 2008 1 commit
  2. 10 Jun, 2008 1 commit
    • dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined. · bc6d4c3f
      gcc:
      	* dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined.
      	(encode_decimal64, decode_decimal64, encode_decimal128,
      	decode_decimal128): Reverse order of 32-bit parts of value if host
      	and target endianness differ.
      
      libdecnumber:
      	* dconfig.h: New.
      	* decContext.c, decExcept.c, decExcept.h, decLibrary.c,
      	decNumber.c, decNumberLocal.h, decRound.c, dpd/decimal128.c,
      	dpd/decimal32.c, dpd/decimal64.c: Include dconfig.h not config.h.
      	* dpd/decimal128Local.h (decimal128SetSign, decimal128ClearSign,
      	decimal128FlipSign): Use WORDS_BIGENDIAN not
      	FLOAT_WORDS_BIG_ENDIAN.
      	* bid/host-ieee128.c: Include dconfig.h.
      	(__host_to_ieee_128, __ieee_to_host_128): Swap 64-bit halves of
      	value if WORDS_BIGENDIAN.
      
      libgcc:
      	* Makefile.in (DECNUMINC): Remove
      	-I$(MULTIBUILDTOP)../../libdecnumber.
      	* gstdint.h: New.
      
      From-SVN: r136641
      Joseph Myers committed
  3. 06 Jun, 2008 1 commit
    • cgraph.c: Fix typos in comments. · fa10beec
      gcc/
      	* cgraph.c: Fix typos in comments.
      	(cgraph_availability_names): Fix string typo.
      	* fold-const.c: Fix typos in comments.
      	(fold_binary): Fix typo in warning.
      	* genautomata.c: Fix typos in comments.
      	(check_presence_pattern_sets): Fix typo in local variable.
      	(output_description): Fix typo in output.
      	* ggc-zone.c (ggc_pch_finish): Fix typo in error message.
      	* hwint.h: Likewise.
      	* matrix-reorg.c (check_allocation_function): Likewise.
      	* omega.c (smooth_weird_equations): Likewise.
      	* auto-inc-dec.c: Fix typos in comments.
      	* bb-reorder.c: Likewise.
      	* builtins.c: Likewise.
      	* c-common.c: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* coverage.c: Likewise.
      	* dbxout.c: Likewise.
      	* df-byte-scan.c: Likewise.
      	* df-core.c: Likewise.
      	* df-problems.c: Likewise.
      	* df-scan.c: Likewise.
      	* dfp.c: Likewise.
      	* dominance.c: Likewise.
      	* domwalk.c: Likewise.
      	* dse.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* et-forest.c: Likewise.
      	* function.c: Likewise.
      	* function.h: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.c: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* ggc-page.c: Likewise.
      	* gimplify.c: Likewise.
      	* gthr-lynx.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* ipa-cp.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.h: Likewise.
      	* ipa-pure-const.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa-struct-reorg.h: Likewise.
      	* ipa-type-escape.c: Likewise.
      	* ipa.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* mips-tfile.c: Likewise.
      	* mkmap-flat.awk: Likewise.
      	* mkmap-symver.awk: Likewise.
      	* modulo-sched.c: Likewise.
      	* omp-low.c: Likewise.
      	* optabs.c: Likewise.
      	* optabs.h: Likewise.
      	* opts.c: Likewise.
      	* passes.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* pretty-print.h: Likewise.
      	* profile.c: Likewise.
      	* protoize.c: Likewise.
      	* ra-conflict.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* regclass.c: Likewise.
      	* regs.h: Likewise.
      	* reload.c: Likewise.
      	* rtl-error.c: Likewise.
      	* rtlanal.c: Likewise.
      	* scan.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* see.c: Likewise.
      	* stmt.c: Likewise.
      	* target.h: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-flow-inline.h: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-pass.h: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-alias-warnings.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-dom.c: Likewise.
      	* tree-ssa-dse.c: Likewise.
      	* tree-ssa-forwprop.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-live.h: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-phiopt.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-ter.c: Likewise.
      	* tree-ssa-threadupdate.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-vect-analyze.c: Likewise.
      	* tree-vect-transform.c: Likewise.
      	* tree-vectorizer.c: Likewise.
      	* tree-vn.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* tree.def: Likewise.
      	* tree.h: Likewise.
      	* unwind-dw2-fde.c: Likewise.
      	* unwind.inc: Likewise.
      	* value-prof.c: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r136425
      Ralf Wildenhues committed
  4. 03 Apr, 2008 1 commit
  5. 10 Sep, 2007 1 commit
    • Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o · 2533577f
      2007-09-10  Janis Johnson  <janis187@us.ibm.com>
      	    Ben Elliston  <bje@au.ibm.com>
      
      libdecnumber/
      	* Makefile.in (libdecnumber_a_OBJS): Remove decUtility.o
      	(dependencies): Add Symbols headers.
      	* decContext.c: Upgrade to decNumber 3.53.
      	* decContext.h: Ditto.
      	* decDPD.h: Ditto.
      	* decNumber.c: Ditto.
      	* decNumber.h: Ditto.
      	* decNumberLocal.h: Ditto.
      	* decBasic.c: New file from decNumber 3.53.
      	* decCommon.c: Ditto.
      	* decDouble.c: Ditto.
      	* decDouble.h: Ditto.
      	* decQuad.c: Ditto.
      	* decQuad.h: Ditto.
      	* decSingle.c: Ditto.
      	* decSingle.h: Ditto.
      	* decPacked.c: Ditto.
      	* decPacked.h: Ditto.
      	* dpd/decimal128.c: Upgrade to decNumber 3.53.
      	* dpd/decimal128.h: Ditto.
      	* dpd/decimal32.c: Ditto.
      	* dpd/decimal32.h: Ditto.
      	* dpd/decimal64.c: Ditto.
      	* dpd/decimal64.h: Ditto.
      	* decLibrary.c (__dec_byte_swap): Remove.
      	* decContextSymbols.h: New file.
      	* decDoubleSymbols.h: New file.
      	* decNumberSymbols.h: New file.
      	* decPackedSymbols.h: New file.
      	* decQuadSymbols.h: New file.
      	* decSingleSymbols.h: New file.
      	* decUtility.c: Delete file.
      	* decUtility.h: Delete file.
      	* bid/decimal128Symbols.h: New file.
      	* bid/decimal128Local.h: New file.
      	* bid/decimal32Symbols.h: New file.
      	* bid/decimal64Symbols.h: New file.
      	* bid/host-ieee128.c (__swap128): Remove.
      	(__host_to_ieee_128, __ieee_to_host_128): Don't handle endianness.
      	* bid/host-ieee32.c (__dec_type_swap): Remove.
      	(__host_to_ieee_32, __ieee_to_host_32): Don't handle endianness.
      	* bid/host-ieee64.c (__swap64): Remove.
      	(__host_to_ieee_64, __ieee_to_host_64): Don't handle endianness.
      	* dpd/decimal32Symbols.h: New file.
      	* dpd/decimal64Symbols.h: New file.
      	* dpd/decimal128Symbols.h: New file.
      	* dpd/decimal128Local.h: New file.
      
      libgcc/
      	* Makefile.in (dfp-filenames): Remove decUtility, add
      	decDouble, decPacked, decQuad, decSingle.
      
      gcc/
      	* dfp.c: Include decimal128Local.h; 
      	(dfp_byte_swap): Remove.
      	(encode_decimal32, decode_decimal32): Don't handle endianness.
      	(encode_decimal64, decode_decimal64): Ditto.
      	(encode_decimal128, decode_decimal128): Ditto.
      	* config/dfp-bit.c (host_to_ieee32, ieee_to_host_32): Ditto.
      	(__swap64): Remove.
      	(host_to_ieee_64, ieee_to_host_64): Don't handle endianness.
               (__swap128): Remove
      	(host_to_ieee_128, ieee_to_host_128): Don't handle endianness.
      	* Makefile.in (DECNUM_H): Add decimal128Local.h.
      
      Co-Authored-By: Ben Elliston <bje@au.ibm.com>
      
      From-SVN: r128350
      Janis Johnson committed
  6. 26 Jul, 2007 1 commit
  7. 25 Jul, 2007 1 commit
    • c-lex.c (c_lex_with_flags, lex_string): Constify. · 5f754896
      	* c-lex.c (c_lex_with_flags, lex_string): Constify.
      	* c-ppoutput.c (print_line, pp_dir_change): Likewise.
      	* c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise.
      	* cfg.c (bb_copy_original_hash, bb_copy_original_eq): Likewise.
      	* cfgloop.c (loop_exit_hash, loop_exit_eq): Likewise.
      	* ddg.c (compare_sccs): Likewise.
      	* df-scan.c (df_ref_compare, df_mw_compare): Likewise.
      	* dfp.c (decimal_real_from_string, decimal_to_decnumber,
      	decimal_to_binary, decimal_do_compare, decimal_real_to_decimal,
      	decimal_do_fix_trunc, decimal_real_to_integer,
      	decimal_real_to_integer2, decimal_real_maxval): Likewise.
      	* dse.c (const_group_info_t): New.
      	(invariant_group_base_eq, invariant_group_base_hash): Constify.
      	* dwarf2out.c (const_dw_die_ref): New.
      	(decl_die_table_hash, decl_die_table_eq, file_info_cmp): Constify.
      	* tree-browser.c (TB_parent_eq): Likewise.
      	* unwind-dw2-fde.c (__register_frame_info_bases,
      	__deregister_frame_info_bases, fde_unencoded_compare, fde_split,
      	add_fdes, linear_search_fdes, binary_search_unencoded_fdes):
      	Likewise.
      	* unwind-dw2-fde.h (get_cie, next_fde): Likewise.
      	* unwind-dw2.c (uw_frame_state_for): Likewise.
      	* value-prof.c (histogram_hash, histogram_eq): Likewise.
      	* value-prof.h (const_histogram_value): New.
      
      From-SVN: r126920
      Kaveh R. Ghazi committed
  8. 24 Mar, 2007 1 commit
  9. 07 Jul, 2006 1 commit
    • pointer-set.c (pointer_set_destroy): Correct whitespace. · 83f676b3
      	* pointer-set.c (pointer_set_destroy): Correct whitespace.
      	* cfgloopanal.c (dump_graph): Likewise.
      	* dojump.c (discard_pending_stack_adjust): Likewise.
      	* fix-header.c (TARGET_EXTRA_INCLUDE, TARGET_EXTRA_PRE_INCLUDES):
      	Likewise.
      	* alloc-pool.c (dump_alloc_pool_statistics): Likewise.
      	* function.c (finalize_block_changes): Likewise.
      	* gcc-common.c (ggc_free_overhead, dump_gcc_loc_statistics): Likewise.
      	* tree-ssa-dce.c (clear_control_dependence_bitmap): Likewise.
      	* rtl.c (dump_rtx_statistics): Likewise.
      	* tree-ssa-structalias.c (sort_fieldstack, init_alias_heapvars): 
      	Likewise.
      	* varray.c (dump_varray_statistics): Likewise.
      	* dfp.c (encode_decimal32, decode_decimal32, encode_decimal64,
      	decode_decimal64, encode_decimal128, decode_decimal128,
      	decimal_real_to_decimal): Likewise.
      
      From-SVN: r115258
      Roger Sayle committed
  10. 23 Jun, 2006 1 commit
  11. 05 Feb, 2006 1 commit
  12. 24 Jan, 2006 1 commit
  13. 16 Dec, 2005 1 commit
    • basic-block.h, [...]: Fix comment typos. · 6416ae7f
      	* basic-block.h, config/i386/winnt.c, config/pa/pa.c,
      	config/s390/s390.c, dfp.c, expr.c, fold-const.c, params.def,
      	reload.c, struct-equiv.c, tree-ssa-ccp.c, tree-ssa-pre.c,
      	tree-ssa-reassoc.c, tree-ssa-structalias.c: Fix comment typos.
      	* doc/invoke.texi, doc/tm.texi: Fix typos.
      
      From-SVN: r108626
      Kazu Hirata committed
  14. 02 Dec, 2005 1 commit
    • dfp.h, dfp.c: New files. · 909e2256
      2005-12-02  Jon Grimm  <jgrimm2@us.ibm.com>
      	    Janis Johnson  <janis187@us.ibm.com>
      	    David Edelsohn  <dje@watson.ibm.com>
      	    Ben Elliston  <bje@au.ibm.com>
      
      	* dfp.h, dfp.c: New files.
      	* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
      	(DECNUM_H): Likewise.
      	(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
      	(INCLUDES): Append $(DECNUMINC).
      	(OBJS-common): Add dfp.o.
      	(dfp.o): New rule.
      	* real.h (EXP_BITS): Pinch one bit to ..
      	(struct real_value): Add decimal field.
      	(real_format): Change table size, update documentation.
      	(REAL_MODE_FORMAT): Update for to handle float, decimal float.
      	(real_from_string3): Declare.
      	(decimal_single_format): Declare.
      	(decimal_double_format): Declare.
      	(decimal_quad_format): Declare.
      	(REAL_VALUE_TO_TARGET_DECIMAL32): New.
      	(REAL_VALUE_TO_TARGET_DECIMAL64): New.
      	(REAL_VALUE_TO_TARGET_DECIMAL128): New.
      	* real.c: Include dfp.h.
      	(normalize): Early return for decimal floats.
      	(do_add): Zero decimal field.
      	(do_compare): Call do_decimal_compare for decimal floats.
      	(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
      	(real_arithmetic): Call decimal_real_arithmetic for decimal
      	floating point operands.
      	(real_identical): If a and b are of differing radix, return false.
      	(real_to_integer): Call decimal_real_to_integer if the value is a
      	decimal float.
      	(real_to_integer2): Likewise, call decimal_real_to_integer2.
      	(real_to_decimal): Likewise, call decimal_real_to_decimal.
      	(real_to_hexadecimal): Place "N/A" in the return string for
      	decimal float.
      	(real_from_string3): New variant, given a mode.
      	(real_maxval): Use decimal_real_maxval for decimal floats.
      	(round_for_format): Use decimal_round_for_format for decimals.
      	(real_convert): Use decimal_real_convert where appropriate.
      	(significand_size): Handle base 10.
      	(encode_decimal_single, decode_decimal_single,
      	encode_decimal_double, decode_decimal_double, encode_decimal_quad,
      	decode_decimal_quad): New functions.
      	(decimal_single_format): New.
      	(decimal_double_format): New.
      	(decimal_quad_format): New.
      	* machmode.def: Add SD, DD and TD decimal floating point modes.
      	* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
      	Include MODE_DECIMAL_FLOAT.
      	(DECIMAL_FLOAT_MODE_P): New.
      	* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
      	* genmodes.c (struct mode_data): Add counter field.
      	(struct mode_data): Update comment for format.
      	(blank_mode): Initialise counter field.
      	(new_mode): Increment counter field for each mode defined.
      	(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
      	using a format.
      	(make_complex_modes): Handle modes containing `D'.
      	(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
      	(make_decimal_float_mode): New.
      	(reset_float_format): Handle MODE_DECIMAL_FLOAT.
      	(cmp_modes): Compare counter field if other characteristics
      	similar.
      	(emit_real_format_for_mode): Support formats for decimal floats.
      	* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
      	Document MODE_DECIMAL_FLOAT.
      
      Co-Authored-By: Ben Elliston <bje@au.ibm.com>
      Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
      Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
      
      From-SVN: r107861
      Jon Grimm committed