aboutsummaryrefslogtreecommitdiff
path: root/gcc/longlong.h
AgeCommit message (Collapse)AuthorFilesLines
2000-05-29longlong.h [__alpha] (count_leading_zeros): New.Richard Henderson1-0/+33
* longlong.h [__alpha] (count_leading_zeros): New. (count_trailing_zeros): New. (COUNT_LEADING_ZEROS_0): New. * config/alpha/alpha.c (alpha_zero_comparison_operator): New. (alpha_split_conditional_move): New. * config/alpha/alpha-protos.h: Prototype them. * config/alpha/alpha.h (PREDICATE_CODES): Update. (CPP_CPU_DEFAULT_SPEC): Fix typo for EV67. * config/alpha/alpha.md: Update ffs cix commentary. (*ze_and_ne): New. (*nabssf2, *nabsdf2): New. (*mov[qhsd]icc_internal): Use add_operand. (if_then_else constant splitters): New. (*cmp_sadd_di, *cmp_sadd_si, *cmp_sadd_sidi): New. (*cmp_ssub_di, *cmp_ssub_si, *cmp_ssub_sidi): New. From-SVN: r34250
2000-05-04libgcc2.c (near eh_context_specific): Comment #endif string.Richard Henderson1-267/+237
* libgcc2.c (near eh_context_specific): Comment #endif string. * longlong.h: Don't use strings with embedded newlines. From-SVN: r33687
2000-04-15configure.in (alpha*-*-*): Aad config/alpha/t-alpha.Richard Kenner1-1/+1
* configure.in (alpha*-*-*): Aad config/alpha/t-alpha. * configure: Rebuilt. * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi. (__fixunsxfDI): Renamed from __fixunsxfdi. (__fixunsdfDI): Renamed from __fixunsdfdi. (__fixunssfDI): Renamed from __fixunssfdi. (__floatdisf): Use proper type in REP_BIT macro. (__fixunsxfSI): Renamed from __fixunsxfsi. (__fixunsdfSI): Renamed from __fixunsdfsi. (__fixunssfSI): Renamed from __fixunssfsi. * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4. Change location of macros and upper-case some names as above. * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd. * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files. From-SVN: r33166
2000-02-16* longlong.h (__clz_tab): Declare as static to match definition.Hans-Peter Nilsson1-2/+2
From-SVN: r32029
2000-02-06* longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.Kaveh R. Ghazi1-12/+12
From-SVN: r31814
2000-01-13longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv' to avoid ↵Zack Weinberg1-2/+2
-Wtraditional warning. * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv' to avoid -Wtraditional warning. From-SVN: r31396
1999-12-27h8300.h (TARGET_H8300H, [...]): Make sure UNITS_PER_WORD and BITS_PER_WORD ↵Jakub Jelinek1-2/+2
are compile time constants when... * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure UNITS_PER_WORD and BITS_PER_WORD are compile time constants when compiling libgcc2. * config/mips/mips.h (TARGET_64BIT): Likewise. * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise. * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead of {SI,DI}type and DIunion. Define these types to QI/HI modes on dsps. Give routines proper names if SI/DI modes are not used. * longlong.h: Use DWunion instead of DIunion. From-SVN: r31095
1999-12-21longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss with ↵David Edelsohn1-2/+4
W_TYPE_SIZE == 32. * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss with W_TYPE_SIZE == 32. Do not fall through to POWER architecture for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER. From-SVN: r31044
1999-12-14xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64.Jakub Jelinek1-6/+6
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64. * config/sparc/sparc.h: Likewise. * config/sparc/xm-sysv4-64.h: Likewise. * config/float-sparc.h: Likewise. * glimits.h: Likewise. * longlong.h: Likewise. From-SVN: r30917
1999-12-10longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where appropriate.Jakub Jelinek1-4/+4
* longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where appropriate. From-SVN: r30864
1999-12-08longlong.h: Merge in changes from glibc.Jakub Jelinek1-85/+310
* longlong.h: Merge in changes from glibc. Also don't clobber %g2 register in 32bit SPARC assembly, so that -mno-app-regs libgcc can be compiled. * libgcc2.c: Add defines so that the updated longlong.h can be used in libgcc2.a. Also, make sure on most architectures (at least on all which have optimized code in longlong.h defined for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests. From-SVN: r30836
1999-12-06* longlong.h: Fix clobbers in SPARC asm statements.Jakub Jelinek1-3/+3
From-SVN: r30802
1999-01-06Copyright fixes.Jeff Law1-1/+1
From-SVN: r24535
1998-07-27configure.in: Added i[34567]86-*-win32.Stan Cox1-3/+5
config.sub: Ditto. configure: Rebuilt. longlong.h (count_leading_zeros): Sparclite scan instruction i386.c (ix86_prologue): Added SUBTARGET_PROLOGUE invocation. i386/cygwin32.h (STARTFILE_SPEC, LIB_SPEC, SUBTARGET_PROLOGUE): Add -pg support. i386/win.h: New file. Hybrid mingw32.h/cygwin32.h configuration. From-SVN: r21411
1998-01-22m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.Robin Kirkham1-1/+1
* m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881. (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__. * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES. (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise. (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__. * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32. (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000. (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000, mcpu32 or m5200. * longlong.h: Replace __mc68332__ with __mcpu32__. From-SVN: r17450
1997-10-19* longlong.h (count_leading_zeros): Add missing casts to USItype.J"orn Rennecke1-3/+3
From-SVN: r16096
1997-09-09Add port done awhile ago for the ARC cpu.Jeff Law1-0/+31
* arc/arc.h: New file. * arc/arc.c: New file. * arc/arc.md: New file. * arc/initfini.c: New file. * arc/lib1funcs.asm: New file. * arc/t-arc: New file. * arc/xm-arc.h: New file. * ginclude/va-arc.h: New file. * ginclude/stdarg.h: Include va-arc.h ifdef __arc__. * ginclude/varargs.h: Likewise. * Makefile.in (USER_H): Add va-arc.h. * configure.in (arc-*-elf*): Recognize. * longlong.h: Add ARC support. Mostly so I can test changes in snapshot scripts. * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx. when clearing non-BLKmode data. Fixes sparc problem. From-SVN: r15198
1997-03-24Update copyright.Doug Evans1-1/+1
From-SVN: r13785
1997-03-24Add m32r support.Doug Evans1-0/+27
From-SVN: r13784
1996-07-19Correct typo.Ian Lance Taylor1-1/+1
From-SVN: r12538
1996-07-18(mc680x0): Define umul_ppmm, udiv_qrnnd, sdiv_qrnnd for the '020,Richard Kenner1-7/+24
'030, '040, and '332. Define count_leading_zeros for the '020, '030, '040, and '060. From-SVN: r12517
1996-07-03formatting tweaksMike Stump1-264/+264
From-SVN: r12390
1996-07-03formatting tweaksMike Stump1-33/+33
From-SVN: r12387
1995-10-03(mips umul_ppmm): Use `l' and `h' constraints; remove mflo and mfhiRichard Kenner1-5/+3
instructions. From-SVN: r10425
1995-09-22(pyr umul_ppmm): Use code `R' for REG.Richard Kenner1-14/+11
From-SVN: r10390
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1995-03-31(umul_ppmm mc68000): Use %# instead of #.Ken Raeburn1-3/+3
From-SVN: r9276
1994-07-07(vax sdiv_qrnnd): Fix typo.Torbjorn Granlund1-1/+1
From-SVN: r7667
1994-07-06(arm umul_ppmm): Fix use of uninitialized register.Richard Earnshaw1-14/+15
Eliminate clobbers of hard registers. From-SVN: r7663
1994-07-05(expand_increment): If pre-incrementing a promotedTorbjorn Granlund1-4/+4
variable, don't adjust OP0 since the result won't be used. From-SVN: r7656
1994-07-01(arm umul_ppm): Fix typos in last change.Richard Earnshaw1-17/+17
(arm umul_ppm): Fix typos in last change. Mark hard-coded registers with "%|". From-SVN: r7634
1994-07-01Test for _AM29K and _IBMR2, not ___AM29K__ and ___IBMR2__.Torbjorn Granlund1-112/+292
(arm umul_ppmm): New definition. (clipper umul_ppmm, smul_ppmm, __umulsidi3): New definitions. (hppa count_leading_zeros): New definition. (i960 umul_ppmm, __umulsidi3): New definitions. (mc68000 umul_ppmm): Use %. before size suffixes. (mc88110 umul_ppmm, udiv_qrnnd): Rewrite. (mc88000): Get UMUL_TIME and UDIV_TIME right. (mips): Get UMUL_TIME right. (ns32000 umul_ppmm): New definition. (ns32000 udiv_qrnnd): Rename from bogus div_qrnnd, rewrite. (powerpc umul_ppmm, smul_ppmm): New definitions. (_IBMR2/powerpc add_ssaaaa, sub_ddmmss): Improve. (pyr umul_ppmm): Fix typo. (sparc add_ssaaaa, sub_ddmmss): Match constant 0 for all inputs. (vax sdiv_qrnnd): New definition. From-SVN: r7629
1994-03-31Change R/S 6000 macros to use new mnemonics under -mnew-mnemonicsIan Lance Taylor1-5/+5
From-SVN: r6930
1993-01-28Use %/ before register names in 68000 version of umul_ppmm.Ian Lance Taylor1-24/+25
From-SVN: r3377
1992-10-28(__hppa sub_ddmmss): Swap input operands.Torbjorn Granlund1-2/+2
From-SVN: r2629
1992-10-28(file header): Add comment describing sdiv_qrnnd.Torbjorn Granlund1-3/+7
From-SVN: r2627
1992-10-24(sparclite): Use machine independent USItype instead of explicit types.Torbjorn Granlund1-11/+11
From-SVN: r2592
1992-10-21(sparclite udiv_qrnnd): Remove comma before __AND_CLOBBER_CC.Torbjorn Granlund1-1/+1
From-SVN: r2542
1992-08-13(__sparclite__): Define umul_ppmm, udiv_qrnnd, and count_leading_zeros for ↵Jim Wilson1-2/+64
this sparc architecture variant. (__sparclite__): Define umul_ppmm, udiv_qrnnd, and count_leading_zeros for this sparc architecture variant. (__sparc_v8__): Changed from __sparc8__. From-SVN: r1811
1992-07-09entered into RCSCharles Hannum1-2/+2
From-SVN: r1545
1992-07-07*** empty log message ***Torbjorn Granlund1-7/+7
From-SVN: r1505
1992-07-07*** empty log message ***Torbjorn Granlund1-0/+12
From-SVN: r1502
1992-07-07*** empty log message ***Torbjorn Granlund1-309/+323
From-SVN: r1499
1992-07-03*** empty log message ***Torbjorn Granlund1-3/+3
From-SVN: r1401
1992-07-03*** empty log message ***Michael Meissner1-3/+3
From-SVN: r1400
1992-06-03*** empty log message ***Michael Meissner1-1/+1
From-SVN: r1152
1992-05-23*** empty log message ***Richard Stallman1-4/+4
From-SVN: r1062
1992-05-22*** empty log message ***Michael Meissner1-2/+2
From-SVN: r1047
1992-05-22*** empty log message ***Torbjorn Granlund1-202/+361
From-SVN: r1046
1992-03-14*** empty log message ***Torbjorn Granlund1-1/+3
From-SVN: r470