Commit Graph

5455 Commits

Author SHA1 Message Date
matt
2d3546bb65 Fix a optimize_size problem in the correct (and smaller) manner. 2007-04-08 10:32:42 +00:00
scw
23c93d0392 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:56:02 +00:00
scw
5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
matt
768e321a24 Switch back to mnegl hi, mnegl lo, sbwc and prevent split_quadword_operands
from using POST_INC in the case of negation.  Fix reversal of operands in
-Os use of ashq.
2007-04-08 03:07:23 +00:00
matt
2c37c6c8f1 Fix a problem with -Os. 2007-04-07 22:50:27 +00:00
matt
43a709f886 2006-08-24 Richard Guenther <rguenther@suse.de>
* builtins.c (fold_builtin_classify): Fix typo.
2007-04-07 06:13:15 +00:00
matt
4fab8ae973 Fix addition of negative 64bit constants. Don't optimize the instructions
too much otherwise we might use some that don't affect the carry bit.  Make
sure we are using paired instructions (add/adwc, sub/sbwc).
2007-04-06 22:46:36 +00:00
matt
5db28f425f When mova[lq] to a push operand, do a pusha[lq] instead. 2007-04-06 20:50:33 +00:00
matt
4af7958221 Fix 64-bit negation. 2007-04-06 20:49:02 +00:00
wiz
166737735f Describe Lk and Mt. From Brad Harder in PR 36126. 2007-04-06 17:05:18 +00:00
matt
086f0329dc Fix constraints on ffs. 2007-04-02 16:45:39 +00:00
matt
20feb5b064 Fix cut-and-pasto. 2007-04-02 16:44:31 +00:00
matt
831f4686c1 Get rid of old unused constraints. 2007-04-02 16:44:17 +00:00
matt
abe5cdbc17 Add __builtin_ffs support. 2007-03-31 23:12:37 +00:00
matt
deb622ec5b Final step. Turn on generation of PIC code. Full release build builds and
works.
2007-03-31 05:55:11 +00:00
matt
dec8719ee4 For nonimmediate operands of SImode, don't use "g" anymore, use "nrmT" instead.
"g" matches just about anything including SYMBOL_REF, CONST, LABEL_REF which
should not be operands for most instructions in PIC mode.  (movsi can handle
then and addsi3 can handle them in a few limited cases).
2007-03-31 01:23:26 +00:00
matt
aa3062f197 Step 2. Produces PIC code but doesn't satisfies the constraints needed
by userland.  (external symbols can still be indirected and relocs for
symbol + offset are emitted).
2007-03-31 00:59:47 +00:00
matt
57ad7b9e42 Use HOST_WIDE_INT where appropriate. Cleanup split_quadword_operands 2007-03-30 22:03:28 +00:00
matt
f775e4410d Enable new quadmove code. Only use mova[lq] instead of ashl when
!optimize_size.  When optimize_size is on, try to use ashl if possible
if setting a 6bit unsigned quantity in the word.
2007-03-30 22:02:26 +00:00
matt
120d27ab08 Add symbolic_operand (matches const, symbol_ref, label_ref). 2007-03-30 21:25:01 +00:00
matt
1336eda547 Remove split_quadword_operands 2007-03-30 21:24:03 +00:00
matt
9e311d116b Simplify the address_operand patterns. Use gcc's macros and split between
push and mov addr patterns.
2007-03-30 21:23:42 +00:00
matt
d18d7c0fc4 Fix a few missing REG_P, use symbolic_operand instead of testint CONST/SYMBOL_REF/LABEL_REF, make split_quadword_operands static, don't pass the insn just the rtx code for the insn 2007-03-30 21:15:24 +00:00
matt
58ad121651 Step 1 of getting gcc to generate VAX PIC code again. These steps are being
committed in "smallish" steps.  This step incorporates the switch to MEM_P,
REG_P, and CONST_INT_P.  Use bool/true/false where appropriate.  PRINT_OPERAND
moves from being a large macro in vax.h print_operand in vax.c.  Fix rtx cost
for a constant of 0.  This eliminates unneeded moves when setting to 0 would
be fine.

Lastly, include completely new (on by default) code for DImode move, addition,
and subtract.  This code is significantly faster and smaller that what existed
before.
2007-03-30 20:25:46 +00:00
matt
7457e904c0 Add CONST_INT_P 2007-03-30 19:47:19 +00:00
matt
e43d142e40 Steal code from tc-sparc.[ch] to implement a vax specific "cons" routine.
Add a %pcrel{32,16,8}(exp) special which emit a PC32 relocation to exp.
This will be used by the gcc dwarf code to generic .eh_frame sections which
are read-only and can be put in the text PT_LOAD.
2007-03-16 22:16:12 +00:00
matt
02f41de9c1 Don't emit PLT entries for PC32 entries not in a code section.
Don't emit PC32 relocations in shared libraries if the relocation is not in
a section with the CODE attribute.  (This is for DWARF2).
2007-03-16 22:12:11 +00:00
matt
c50630ea67 Fix LP64 bug. 2007-03-10 23:23:07 +00:00
matt
2018fad37d Honour ${CPUFLAGS} 2007-03-09 04:40:38 +00:00
mrg
e274239983 regenerate everything with fixed c++ math bits. 2007-03-01 01:57:15 +00:00
skrll
3d26910b10 sun2 mknative output for gdb6. 2007-02-28 08:12:13 +00:00
skrll
15e7f1810b Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
Pulled across from the changes to gdb5.3.
2007-02-26 23:11:01 +00:00
drochner
ce75a0ec7e regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-26 11:57:52 +00:00
skrll
c0f2a403cd Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
Pulled across from the changes to gdb5.3.
2007-02-24 13:05:18 +00:00
skrll
d6172f381e Whitespace 2007-02-24 13:01:34 +00:00
skrll
dcad5cdb82 Applies the changes made in gdb 5.3 to support pthread debugging.
Fixes part of PR/35540.
2007-02-24 12:36:27 +00:00
christos
493edcfdc7 improve on TARGET_LIBC_PROVIDES_SSP test suggested from phone. 2007-02-23 21:31:13 +00:00
chs
fd090e47e8 rerun mknative (disabling sim). 2007-02-19 18:30:58 +00:00
chs
13bb388148 disable sim for mips until someone adds the rest of the build framework for it. 2007-02-19 18:26:22 +00:00
chs
ae4967aaae bring over local mods from gdb5:
- use the right LWP ID with ptrace.
 - implement single stepping.
2007-02-19 18:22:04 +00:00
rmind
07f5c15ae5 Enable sdiff(1) in usr.bin, disable GNU sdiff(1).
lists seems to be compatible.
2007-02-18 22:44:44 +00:00
freza
592d6d615c Fix MKDEBUGLIB build. 2007-02-16 16:34:17 +00:00
drochner
10527a675c regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-07 16:52:31 +00:00
drochner
310805bbe6 regen after math.h change - now we've got _GLIBCXX_USE_C99_MATH 2007-02-06 17:32:29 +00:00
rpaulo
9cecbd0179 Merge postfix-2.3.7 2007-02-05 17:56:11 +00:00
rpaulo
231b0ce3a6 postfix 2.3.7 2007-02-05 17:36:15 +00:00
rpaulo
87cc82cf9b postfix 2.3.7 2007-02-05 17:35:53 +00:00
christos
bb1029ffc1 Don't mark 0 length arrays as being too small for stack protection. 2007-01-27 01:27:29 +00:00
wiz
b5d2193e6a Add NetBSD-1.3.3 and FreeBSD-6.1 for hashinit(9). 2007-01-23 22:26:06 +00:00
skrll
fb3b023826 Correct a comment. 2007-01-20 10:54:44 +00:00