aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-02-10Win32Process.java (destroy): Declare as native.Ranjit Mathew3-20/+349
2003-02-10 Ranjit Mathew <rmathew@hotmail.com> * java/lang/Win32Process.java (destroy): Declare as native. (hasExited): New native method. (exitValue): Define. (getErrorStream): Likewise. (getInputStream): Likewise. (getOutputStream): Likewise. (waitFor): Declare as native. (startProcess): New native method. (cleanup): Likewise. (ConcreteProcess): Define. (outputStream, inputStream, errorStream): New members. (procHandle, exitCode): Likewise. * java/lang/natWin32Process.cc (java::lang::ConcreteProcess::cleanup): Define. (java::lang::ConcreteProcess::destroy): Likewise. (java::lang::ConcreteProcess::hasExited): Likewise. (java::lang::ConcreteProcess::waitFor): Likewise. (new_string): Likewise. (java::lang::ConcreteProcess::startProcess): Likewise. From-SVN: r62657
2003-02-10BigInteger.java: Updated notice to include years 2002 and 3.Raif S. Naffah2-181/+189
2003-02-10 Raif S. Naffah <raif@fl.net.au> * java/math/BigInteger.java: Updated notice to include years 2002 and 3. Added 2 private (int) arrays with values from the HAC (Handbook of Applied Cryptography -A. Menezes & al): k[] that contains bit lengths and t[] that contains nbr. of tests --used in isProbablePrime(). * java/math/BigInteger.java (make(long)): Merged into valueOf(long). * java/math/BigInteger.java (make(int[],int), add(int,int), add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI), isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI), bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of make(long). * java/math/BigInteger.java (euclidInv): Reduce number of work vars (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3. (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6 BIs and returns void. (modInverse(BI)): Use new signatures of euclidInv(). * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with static small primes instead of remainder(). Use pre-computed max nbr of trials based on bitlength of BI to test. Use pre-computed small primes for the trial tests instead of random numbers. * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed. not used. * java/math/BigInteger.java (format(int,StringBuffer)): Removed invoacation of MPN.chars_per_word(). not used. * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as local var and used where needed. * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling. Combined declaration with initialisation of locals. Removed unused var. * java/math/BigInteger.java: Style changes (pow(int)): Removed 'else' keyword. (toString(int)): idem. (doubleValue()): idem. (bitLength()): idem. (equals(Object)): Use static methods name in same class w/o prepending class name. (doubleValue()): idem. (setNegative(BI)): idem. (negate()): idem. (and(BI,int)): idem. (and(BI)): idem. (gcd(BI)): idem. (byteArrayToIntArray()): Removed casting to (int). this is std. behaviour. (canonicalize()): idem. (alloc(int)): Always instantiate a new BI. From-SVN: r62656
2003-02-10h8300.md (abssf2): New.Kazu Hirata2-0/+32
* config/h8300/h8300.md (abssf2): New. (*abssf2_h8300): Likewise. (*abssf2_h8300hs): Likewise. From-SVN: r62654
2003-02-10tree.c (build_tree_list): Fix parameter names in comment.Phil Edwards2-1/+5
2003-02-10 Phil Edwards <pme@gcc.gnu.org> * tree.c (build_tree_list): Fix parameter names in comment. From-SVN: r62653
2003-02-10ppc64-fp.c: New file.Janis Johnson3-0/+154
2003-02-10 Janis Johnson <janis187@us.ibm.com> * config/rs6000/ppc64-fp.c: New file. * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c. From-SVN: r62652
2003-02-10- Really commit ctz patch.David Edelsohn1-19/+51
From-SVN: r62649
2003-02-10Timestamp.java (compareTo(Object)): New method.Tom Tromey2-8/+32
* java/sql/Timestamp.java (compareTo(Object)): New method. (compareTo(Timestamp)): Likewise. (serialVersionUID): Updated. From-SVN: r62648
2003-02-10Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).Josef Zlomek4-195/+1026
* Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H). * bb-reorder.c (make_reorder_chain): Deleted. (make_reorder_chain_1): Deleted. (find_traces): New function. (rotate_loop): New function. (mark_bb_visited): New function. (find_traces_1_round): New function. (copy_bb): New function. (bb_to_key): New function. (better_edge_p): New function. (connect_traces): New function. (copy_bb_p): New function. (get_uncond_jump_length): New function. (reorder_basic_blocks): Use new functions (Software Trace Cache). * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop boundaries. From-SVN: r62645
2003-02-10rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.Aldy Hernandez2-1/+5
2003-02-10 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3. From-SVN: r62644
2003-02-10tree.h (struct tree_decl): Remove unused live_range_rtl field.Dan Nicolaescu2-5/+5
* tree.h (struct tree_decl): Remove unused live_range_rtl field. (DECL_LIVE_RANGE_RTL): Remove. From-SVN: r62642
2003-02-10cp-tree.h (struct lang_type_header): Make all fields unsigned char.Dan Nicolaescu2-9/+14
* cp-tree.h (struct lang_type_header): Make all fields unsigned char. From-SVN: r62641
2003-02-10Replace occurances of "GNU CC" with "GCC" and reformat as appropriate.Nick Clifton30-409/+424
From-SVN: r62640
2003-02-10clzsi2.c: Remove.Kazu Hirata6-198/+10
* config/h8300/clzsi2.c: Remove. * config/h8300/ctzsi2.c: Likewise. * config/h8300/paritysi2.c: Likewise. * config/h8300/popcountsi2.c: Likewise. * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2, ctzsi2, paritysi2, and popcountsi2. From-SVN: r62637
2003-02-10re PR c/7741 (ICE on conflicting types (make_decl_rtl at varasm.c:834))Eric Botcazou4-0/+28
PR c/7741 * c-decl.c (duplicate_decls): Discard the initializer of the new decl when the types are conflicting. Co-Authored-By: Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de> From-SVN: r62631
2003-02-10Makefile.in (sreal.o): Added.Josef Zlomek5-61/+721
* Makefile.in (sreal.o): Added. (predict.o): Depends on sreal.h instead of real.h. * sreal.c: New file. * sreal.h: New file. * predict.c: Use sreal.c instead of real.c. From-SVN: r62630
2003-02-10* gcc.dg/i386-fpcvt-1.c: New test.Jan Hubicka2-0/+14
From-SVN: r62627
2003-02-10oops - omiited from previous delta:Nick Clifton1-0/+667
* Contributed support for the Cirrus EP9312 "Maverick" floating point co-processor. Written by Aldy Hernandez <aldyh@redhat.com>. (config/arm/arm.c): Add Cirrus support. (config/arm/arm.h): Likewise. (config/arm/aout.h): Likewise. (config/arm/arm.md): Likewise. (config/arm/arm-protos.h): Likewise. (config.gcc): Likewise. (doc/invoke.texi): Describe new -mcpu value and new -mcirrus-fix-invalid-insns switch, (cirrus.md): New file. From-SVN: r62626
2003-02-10Add support for Cirrus EP9312, an ARM variant.Nick Clifton9-62/+746
From-SVN: r62625
2003-02-10combine.c (combine_simplify_rtx): Simplify using (float_truncate (float x)) ↵Jan Hubicka2-0/+52
is (float x) (float_extend... * combine.c (combine_simplify_rtx): Simplify using (float_truncate (float x)) is (float x) (float_extend (float_extend x)) is (float_extend x). From-SVN: r62624
2003-02-10calls.c (try_to_integrate): Tidy stack_usage_map access.Alan Modra2-23/+33
* calls.c (try_to_integrate): Tidy stack_usage_map access. (emit_library_call_value_1): Likewise. Formatting. (store_one_arg): Likewise. From-SVN: r62622
2003-02-10[multiple changes]Aldy Hernandez2-37/+75
2003-02-09 Nick Clifton <nickc@redhat.com> Aldy Hernandez <aldyh@redhat.com> * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat, spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd, spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou, spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe, spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest docs. Add range test for immediate value. 2003-02-09 Aldy Hernandez <aldyh@redhat.com> Rename spe_evxor to xorv2si3. (xorv4hi3): New. (xorv1di3): New. From-SVN: r62621
2003-02-10extend.texi (C++98 Thread-Local Edits): Add missing @item tag.Glen Nakamura2-0/+6
* doc/extend.texi (C++98 Thread-Local Edits): Add missing @item tag. From-SVN: r62620
2003-02-10Daily bump.GCC Administrator2-2/+2
From-SVN: r62619
2003-02-09i386.c (vector_move_operand): New predicate.Jan Hubicka4-57/+153
* i386.c (vector_move_operand): New predicate. (ix86_expand_vector_move): Be happy about 0. * i386.h (PREDICATE_CODES): Add sse-move_operand. * i386.md (mov*_internal): Add 'C' alternative. From-SVN: r62612
2003-02-09* i386.md (floathi*): Deal with SSE.Jan Hubicka2-4/+34
From-SVN: r62611
2003-02-09simplify-rtx.c (simplify_unary_operation, [...]): Deal with vector modesJan Hubicka2-12/+190
* simplify-rtx.c (simplify_unary_operation, simplify_binary_operation): Deal with vector modes (simplify_ternary_operation): Deal with no-op VEC_MERGE. From-SVN: r62610
2003-02-09toplev.c (rest_of_compilation): Recompute register usage after split_all_insns.Richard Sandiford4-12/+25
* toplev.c (rest_of_compilation): Recompute register usage after split_all_insns. From-SVN: r62607
2003-02-09libgcc-std.ver (__clztf2): New.Richard Henderson5-89/+111
* libgcc-std.ver (__clztf2): New. (__ctztf2, __popcounttf2, __paritytf2): New. * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2, __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode; adjust code to match the different type sizes. * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2, __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros. * optabs.c (init_integral_libfuncs): Don't hard-code SImode and TImode; select word_mode and twice that. (init_floating_libfuncs): Don't hard-code SFmode and TFmode; select the modes from float, double, and long double. (init_optabs): Remove duplicate initializations. From-SVN: r62606
2003-02-09builtin-bitops-1.c: When testing the int-wide bitops, use the constants of ↵Kazu Hirata2-16/+88
the same width. * gcc.c-torture/execute/builtin-bitops-1.c: When testing the int-wide bitops, use the constants of the same width. Likewise, if long long is 32-bit wide, test bitops using 32-bit constants. From-SVN: r62603
2003-02-09install.texi: Squeeze and streamline section on testing and regression checking.Wolfgang Bangerth2-21/+22
* doc/install.texi: Squeeze and streamline section on testing and regression checking. From-SVN: r62601
2003-02-09i386.md (ahi?v*3): Set third operand type to TImode.Jan Hubicka5-17/+109
* i386.md (ahi?v*3): Set third operand type to TImode. * i386.c (ix86_expand_binop_builtin): Extend operand when needed. * simplify-rtx.c (simplify_subreg): Fix conversion from vector into integer mode. * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE): Change code so they are arithmetic expressions now. * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation, simplify_ternary_operation): Deal with VEC_* expressions. * i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation. From-SVN: r62600
2003-02-09cfgrtl.c (verify_flow_info): Use control_flow_insn_p.Jan Hubicka3-3/+15
* cfgrtl.c (verify_flow_info): Use control_flow_insn_p. * reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges possibly got duplicated. From-SVN: r62599
2003-02-08alpha.c (override_options): Turn off explicit relocs until post-peep2 code ↵Richard Henderson2-0/+9
duplication resolved. * config/alpha/alpha.c (override_options): Turn off explicit relocs until post-peep2 code duplication resolved. From-SVN: r62597
2003-02-09optabs.c (expand_unop): Widen clz properly when clz is done via libcall.Kazu Hirata2-0/+13
* optabs.c (expand_unop): Widen clz properly when clz is done via libcall. From-SVN: r62595
2003-02-09atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock): Correct alignment.John David Anglin2-6/+16
* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock): Correct alignment. (__exchange_and_add, __atomic_add): Use PA 2.0 ordered store to reset lock. From-SVN: r62593
2003-02-09Daily bump.GCC Administrator2-2/+2
From-SVN: r62592
2003-02-08jcf-io.c (java_or_class_file): Use libiberty's lbasename instead of basename ↵Roger Sayle2-1/+6
to avoid compiler warnings on Tru64. * jcf-io.c (java_or_class_file): Use libiberty's lbasename instead of basename to avoid compiler warnings on Tru64. From-SVN: r62582
2003-02-08clzsi2.c: Replace "GNU CC" with "GCC".Kazu Hirata13-49/+64
* config/h8300/clzsi2.c: Replace "GNU CC" with "GCC". * config/h8300/crti.asm: Likewise. * config/h8300/crtn.asm: Likewise. * config/h8300/ctzsi2.c: Likewise. * config/h8300/fixunssfsi.c: Likewise. * config/h8300/h8300-protos.h: Likewise. * config/h8300/h8300.c: Likewise. * config/h8300/h8300.h: Likewise. * config/h8300/h8300.md: Likewise. * config/h8300/paritysi2.c: Likewise. * config/h8300/popcountsi2.c: Likewise. * config/h8300/rtems.h: Likewise. From-SVN: r62581
2003-02-08invoke.texi: Documentation for my previous commit.Zdenek Dvorak3-4/+27
* doc/invoke.texi: Documentation for my previous commit. * doc/passes.texi: Ditto. From-SVN: r62580
2003-02-08cfgloop.h (fix_loop_placement, [...]): Declare.Zdenek Dvorak8-8/+1810
* cfgloop.h (fix_loop_placement, can_duplicate_loop_p, duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb): Declare. (DLTHE_FLAG_UPDATE_FREQ): New. * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to, loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs, rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements, fix_bb_placement, fix_bb_placements, place_new_loop, scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges): New static functions. (fix_loop_placement, can_duplicate_loop_p, duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb): New functions. * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize, unswitch_loops): Declare. * loop-init.c: New file. * loop-unswitch.c: New file. * Makefile.in (loop-init.o, loop-unswitch.o): New. * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New. * toplev.c (DFI_loop2): New dump. (flag_unswitch_loops): New. (lang_independent_options): Add it. (rest_of_compilation): Call new loop optimizer. (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3. From-SVN: r62578
2003-02-08clzsi2.c: New.Kazu Hirata6-1/+206
* config/h8300/clzsi2.c: New. * config/h8300/ctzsi2.c: Likewise. * config/h8300/paritysi2.c: Likewise. * config/h8300/popcountsi2.c: Likewise. * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files. From-SVN: r62577
2003-02-08* MAINTAINERS: Update my emailLaurynas Biveinis2-1/+5
From-SVN: r62575
2003-02-07- Add ctz patterns.David Edelsohn3-2/+6
From-SVN: r62572
2003-02-07rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.David Edelsohn3-6/+18
* config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define. * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2. (ffssi2): Use clz instead of unspec. (clzdi2): Rename from cntlzd2. (ffsdi2): Use clz instead of unspec. From-SVN: r62570
2003-02-08freebsd.h (LINK_SPEC): Weaken error to notice.Loren J. Rittle7-4/+17
* config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice. * config/ia64/freebsd.h (LINK_SPEC): Likewise. * config/sparc/freebsd.h (LINK_SPEC): Likewise. * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches. * gcc.dg/20021014-1.c: Annotate with expected notice text. From-SVN: r62567
2003-02-08Daily bump.GCC Administrator2-2/+2
From-SVN: r62566
2003-02-07* doc/trouble.texi: Document pitfalls of two-stage name lookup.Wolfgang Bangerth2-1/+94
From-SVN: r62558
2003-02-07gcse.c (local_cprop_find_used_regs): New.Richard Henderson2-2/+56
* gcse.c (local_cprop_find_used_regs): New. (local_cprop_pass): Use it. From-SVN: r62555
2003-02-07mips-tfile.c (parse_def): Parenthesize assignments to fix precedence bugs.Fred Fish2-6/+11
2003-02-04 Fred Fish <fnf@intrinsity.com> * mips-tfile.c (parse_def): Parenthesize assignments to fix precedence bugs. From-SVN: r62553
2003-02-07* genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.Segher Boessenkool2-1/+8
From-SVN: r62552