aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/h8300/lib1funcs.asm
AgeCommit message (Collapse)AuthorFilesLines
2004-01-25lib1funcs.asm (divnorm, modnorm): Optimize by using ccr.Kazu Hirata1-7/+6
* config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by using ccr. From-SVN: r76573
2004-01-15coff.h: Replace Hitachi with Renesas.Kazu Hirata1-3/+3
* config/h8300/coff.h: Replace Hitachi with Renesas. * config/h8300/elf.h: Likewise. * config/h8300/h8300-protos.h: Likewise. * config/h8300/h8300.c: Likewise. * config/h8300/h8300.h: Likewise. * config/h8300/h8300.md: Likewise. * config/h8300/lib1funcs.asm: Likewise. From-SVN: r75941
2003-11-20lib1funcs.asm (MOVP): Remove.Kazu Hirata1-6/+0
* config/h8300/lib1funcs.asm (MOVP): Remove. (ADDP): Likewise. (CMPP): Likewise. From-SVN: r73765
2003-11-15lib1funcs.asm (divnorm): Store the sign in bit 3 of S2L.Kazu Hirata1-13/+7
* config/h8300/lib1funcs.asm (divnorm): Store the sign in bit 3 of S2L. (modnorm): Likewise. (exitdiv): Look at bit 3 of S2L only. From-SVN: r73635
2003-11-14lib1funcs.asm (___udivsi3): Peel off the first iteration.Kazu Hirata1-1/+4
* config/h8300/lib1funcs.asm (___udivsi3): Peel off the first iteration. From-SVN: r73620
2003-11-14* config/h8300/lib1funcs.asm (___udivsi3): Add a comment.Kazu Hirata1-0/+1
From-SVN: r73604
2003-11-14lib1funcs.asm (modsi3): Don't save unused registers.Kazu Hirata1-4/+10
* config/h8300/lib1funcs.asm (modsi3): Don't save unused registers. (divsi3): Likewise. (reti): Don't restore unused registers. From-SVN: r73603
2003-11-14lib1funcs.asm (__udivsi3): Remove.Kazu Hirata1-7/+12
* config/h8300/lib1funcs.asm (__udivsi3): Remove. (divmodsi3): Change the name to ___udivsi3. Update all callers. From-SVN: r73576
2003-11-14lib1funcs.asm (divmodsi4): Replace all the uses of er4 with er3.Kazu Hirata1-18/+12
* config/h8300/lib1funcs.asm (divmodsi4): Replace all the uses of er4 with er3. Adjust all callers. From-SVN: r73572
2003-11-13lib1funcs.asm (___udivsi3): Jump to reti instead of exitdiv.Kazu Hirata1-7/+4
* config/h8300/lib1funcs.asm (___udivsi3): Jump to reti instead of exitdiv. (___umodsi3): Likewise. (exitdiv): Do not restore any register. (reti): Restore registers. From-SVN: r73560
2003-11-13* config/h8300/lib1funcs.asm: Fix comment typos.Kazu Hirata1-2/+2
From-SVN: r73556
2003-11-13lib1funcs.asm (udivsi3): Don't save/restore unused registers.Kazu Hirata1-2/+15
* config/h8300/lib1funcs.asm (udivsi3): Don't save/restore unused registers. Don't jump to exitdiv. (umodsi3): Likewise. From-SVN: r73555
2003-11-13lib1funcs.asm (DenHighNonZero): Optimize using the approximate quotient method.Pavel Pisa1-25/+50
* config/h8300/lib1funcs.asm (DenHighNonZero): Optimize using the approximate quotient method. Co-Authored-By: Kazu Hirata <kazu@cs.umass.edu> From-SVN: r73550
2003-11-13lib1funcs.asm (divmodsi4): Clear S0P in DenHighNonZero.Kazu Hirata1-1/+1
* config/h8300/lib1funcs.asm (divmodsi4): Clear S0P in DenHighNonZero. From-SVN: r73538
2003-11-12lib1funcs.asm (___mulsi3): Don't save/restore an unused register.Kazu Hirata1-2/+0
* config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore an unused register. From-SVN: r73520
2003-11-11lib1funcs.asm: Replace DenHighZero with DenHighNonZero.Kazu Hirata1-4/+4
* config/h8300/lib1funcs.asm: Replace DenHighZero with DenHighNonZero. From-SVN: r73457
2003-05-30crti.asm: Use .h8300hn and .h8300sn for normal mode.Dhananjay Deshpande1-0/+8
* config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal mode. * config/h8300/crtn.asm: Likewise. * config/h8300/lib1funcs.asm: Likewise. * config/h8300/h8300.c (asm_file_start): Likewise. * config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and h8300snelf emulations for normal mode. * config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn emulations for normal mode. From-SVN: r67250
2002-11-02h8300.h: Fix comment typos.Kazu Hirata1-4/+4
* config/h8300/h8300.h: Fix comment typos. * config/h8300/h8300.md: Likewise. * config/h8300/lib1funcs.asm: Likewise. From-SVN: r58748
2002-09-19fp-bit.c: Follow spelling conventions.Kazu Hirata1-1/+1
* config/fp-bit.c: Follow spelling conventions. * config/d30v/d30v.c: Likewise. * config/d30v/d30v.h: Likewise. * config/fr30/fr30.c: Likewise. * config/fr30/fr30.h: Likewise. * config/fr30/fr30.md: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.h: Likewise. * config/h8300/h8300.c: Likewise. * config/h8300/lib1funcs.asm: Likewise. * config/i370/i370.c: Likewise. * config/i386/i386.h: Likewise. * config/i386/i386.md: Likewise. * config/i386/pentium.md: Likewise. * config/i386/winnt.c: Likewise. * config/i960/i960.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ip2k/ip2k.c: Likewise. * config/ip2k/ip2k.h: Likewise. * config/ip2k/ip2k.md: Likewise. * config/ip2k/libgcc.S: Likewise. From-SVN: r57303
2002-05-03crti.asm: Remove trailing spaces.Kazu Hirata1-47/+47
* config/h8300/crti.asm: Remove trailing spaces. * config/h8300/h8300.c: Likewise. * config/h8300/lib1funcs.asm: Likewise. From-SVN: r53090
2002-04-20lib1funcs.asm (___mulsi3): Remove unnecessary push and pop.Kazu Hirata1-12/+5
* config/h8300/lib1funcs.asm (___mulsi3): Remove unnecessary push and pop. Replace add.l with add.w. From-SVN: r52559
2002-04-20lib1funcs.asm (___mulsi3): Use hardware multiply instructions for H8/300H case.Toshiyasu Morita1-24/+41
* config/h8300/lib1funcs.asm (___mulsi3): Use hardware multiply instructions for H8/300H case. From-SVN: r52558
2002-04-20lib1funcs.asm (___cmpsi2, ___ucmpsi2): Bum three instructions from each routine.Toshiyasu Morita1-22/+17
* config/h8300/lib1funcs.asm (___cmpsi2, ___ucmpsi2): Bum three instructions from each routine. From-SVN: r52557
2002-01-10h8300.h: Fix comment typos.Kazu Hirata1-1/+1
* config/h8300/h8300.h: Fix comment typos. * config/h8300/h8300.md: Likewise. * config/h8300/lib1funcs.asm: Likewise. From-SVN: r48754
2001-08-30t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.J"orn Rennecke1-0/+28
* t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm. (LIB2FUNCS_EXTRA): Define. config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm . config/h8300/fixunssfsi.c: New file. From-SVN: r45291
2001-08-29lib1funcs.asm: Update the copyright.Kazu Hirata1-5/+5
* config/h8300/lib1funcs.asm: Update the copyright. Fix comment typos. From-SVN: r45269
2001-08-29* config/h8300/lib1funcs.asm: Fix comment typos.Kazu Hirata1-2/+2
From-SVN: r45259
2001-05-17i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file.Zack Weinberg1-1/+1
* testsuite/gcc.dg/complete-port.c: New (revised version of libgcc1-test.c) * po/POTFILES.in: Remove libgcc1-test.c and libgcc1.c. * Makefile.in: Delete variables: OLDCC, CCLIBFLAGS, OLDAR, OLDAR_FLAGS, LIBGCC1, LIBGCC1_TEST, CROSS_LIBGCC1, LIB1FUNCS, and LIB1FUNCS_EXTRA. Delete rules: libgcc1-test, libgcc1-test.o. Clarify commentary now that libgcc1 no longer exists. * cross-make: Don't set LIBGCC1. * mklibgcc.in: Delete all code for building from libgcc1.c. Always honor LIB1ASMFUNCS if set. * crtstuff.c, floatlib.c, longlong.h, config/fp-bit.c, config/arc/lib1funcs.asm, config/arm/lib1funcs.asm, config/d30v/libgcc1.asm, config/fr30/lib1funcs.asm, config/h8300/lib1funcs.asm, config/i386/cygwin.asm, config/i386/uwin.asm, config/m68hc11/larith.asm, config/m68k/lb1sf68.asm, config/mcore/lib1.asm, config/mn10200/lib1funcs.asm, config/sh/lib1funcs.asm, config/sparc/lb1spc.asm, config/sparc/lb1spl.asm, config/v850/lib1funcs.asm, config/c4x/libgcc.S: Delete or update references to libgcc1 in commentary. * config/t-libc-ok, config/t-linux, config/t-linux-aout, config/t-netbsd, config/a29k/t-a29kbare, config/a29k/t-vx29k, config/alpha/t-interix, config/alpha/t-osf, config/alpha/t-vms, config/arc/t-arc, config/arm/t-arm-aout, config/arm/t-arm-coff, config/arm/t-arm-elf, config/arm/t-linux, config/arm/t-pe, config/arm/t-semi, config/arm/t-strongarm-coff, config/arm/t-strongarm-elf, config/arm/t-strongarm-pe, config/arm/t-xscale-coff, config/arm/t-xscale-elf, config/avr/t-avr, config/c4x/t-c4x, config/d30v/t-d30v, config/fr30/t-fr30, config/h8300/t-h8300, config/i386/t-beos, config/i386/t-cygwin, config/i386/t-i386elf, config/i386/t-interix, config/i386/t-netware, config/i386/t-next, config/i386/t-rtems-i386, config/i386/t-sol2, config/i960/t-960bare, config/i960/t-vxworks960, config/ia64/t-ia64, config/m32r/t-m32r, config/m68hc11/t-m68hc11-gas, config/m68k/t-lynx, config/m68k/t-m68kbare, config/m68k/t-m68kelf, config/m68k/t-mot3300-gald, config/m68k/t-mot3300-gas, config/m68k/t-next, config/m68k/t-vxworks68, config/m88k/t-bug, config/m88k/t-dgux, config/m88k/t-dgux-gas, config/m88k/t-dguxbcs, config/m88k/t-luna, config/m88k/t-luna-gas, config/m88k/t-m88k, config/m88k/t-m88k-gas, config/m88k/t-sysv4, config/mcore/t-mcore, config/mcore/t-mcore-pe, config/mips/t-bsd, config/mips/t-bsd-gas, config/mips/t-cross64, config/mips/t-ecoff, config/mips/t-elf, config/mips/t-iris6, config/mips/t-r3900, config/mips/t-svr3, config/mips/t-svr3-gas, config/mips/t-svr4, config/mips/t-svr4-gas, config/mips/t-ultrix, config/mn10200/t-mn10200, config/mn10300/t-mn10300, config/pa/t-linux, config/pa/t-linux64, config/pa/t-pa, config/pa/t-pa64, config/pa/t-pro, config/pdp11/t-pdp11, config/pj/t-pj, config/rs6000/t-aix43, config/rs6000/t-beos, config/rs6000/t-darwin, config/rs6000/t-newas, config/rs6000/t-ppccomm, config/rs6000/t-rs6000, config/sh/t-linux, config/sh/t-sh, config/sparc/t-chorus-elf, config/sparc/t-elf, config/sparc/t-sol2, config/sparc/t-sp86x, config/sparc/t-sparcbare, config/sparc/t-sparclite, config/sparc/t-splet, config/sparc/t-sunos41, config/sparc/t-vxsparc, config/sparc/t-vxsparc64, config/v850/t-v850: Don't set any of LIBGCC1, CROSS_LIBGCC1, or LIBGCC1_TEST. * config/alpha/alpha.h, config/i386/i386.h, config/i860/i860.h: Don't set FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, INTIFY, or FLOATIFY. * config/d30v/d30v.h: Don't mention LIBGCC_NEEDS_DOUBLE, FLOAT_VALUE_TYPE, FLOAT_ARG_TYPE, FLOATIFY, INTIFY, nongcc_SI_type, nongcc_word_type, or perform_* * config/i860/fx2800: Don't define perform_umodsi3 or perform_modsi3. * config/i386/386bsd.h, config/i386/beos-elf.h, config/i386/linux-aout.h, config/i386/linux-oldld.h, config/i386/linux.h, config/i386/mach.h, config/i386/netbsd.h, config/i386/openbsd.h, config/i386/osfrose.h, config/i386/rtemself.h: Don't include i386/perform.h. * config/a29k/t-a29k, config/arm/t-semiaof, config/i370/t-i370, config/i370/t-linux, config/i370/t-mvs, config/i370/t-oe, config/i386/t-djgpp, config/i386/t-i386bare, config/i386/t-vsta, config/ia64/t-hpux, config/mips/t-mips, config/mips/t-mips-gas, config/mips/t-osfrose, config/sparc/t-sp64, config/sparc/t-sunos40, config/vax/t-openbsd, config/vax/t-vax: Delete. * config.gcc: Remove references to deleted files. (arm-semi-aof): Use arm/t-semi for tmake_file. * gcc.texi, install.texi, invoke.texi, tm.texi: Delete or rewrite text which is no longer relevant now that libgcc1 no longer exists. * config/t-openbsd, config/alpha/t-interix, config/i386/t-interix: No need to set INSTALL_ASSERT_H. (Missed in previous sweep.) From-SVN: r42188
2000-09-07h8300.h: Fix comment typos.Kazu Hirata1-4/+3
* config/h8300.h: Fix comment typos. * config/h8300/h8300.md: Likewise. * config/h8300/lib1funcs.asm: Likewise. From-SVN: r36248
2000-06-11[multiple changes]Jeff Law1-16/+8
2000-06-09 Rodney Brown <RodneyBrown@mynd.com> * mcore-protos.h: discards const warning removal. * mcore.c: discards const warning removal. 2000-06-09 Kazu Hirata <kazu@hxi.com> * config/h8300/lib1funcs.asm: Declare the machine architecture at the beginning of the file. 2000-06-09 J. David Anglin <dave@hiauly1.hia.nrc.ca> * real.h: Add prototype for ldexp. From-SVN: r34496
2000-05-15Update to libgcc copyright exception clause.Jeff Law1-12/+6
From-SVN: r33916
1997-04-29lib1funcs.asm (divnorm, [...]): Fix code to negate SImode values.Jeff Law1-3/+3
* lib1funcs.asm (divnorm, modnorm, exitdiv): Fix code to negate SImode values. From-SVN: r13991
1996-07-08* First cut at support for the H8/S.Jeff Law1-1/+11
* h8300/h8300.c (h8300_init_once): Handle the H8/S (treat it like the H8/300H). (dosize, adds_subs_operand, one_insn_adds_subs_operand): Likewise. (output_adds_subs, const_costs, print_operand): Likewise. (output_simode_bld, h8300_adjust_insn_length): Likewise. (push_order, pop_order): Reverse. (function_prologue): Try to use ldm.l and stm.l insns on the H8/S. Minor cleanups. (function_epilogue): Likewise. (asm_file_start): Emit ".h8300s" when compiling for the H8/S. * h8300/h8300.h (CPP_SPEC): Handle the H8/S. (TARGET_H8300S): New target. (TARGET_SWITCHES): Add "-ms" and "-mno-s". (BITS_PER_WORD): Handle the H8/S (treat it like the H8/300H). (UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY): Likewise. (BIGGEST_ALIGNMENT, BIGGEST_FIELD_ALIGNMENT): Likewise. (INITIALIZE_TRAMPOLINE, MOVE_MAX, Pmode): Likewise. * h8300/h8300.md: Handle H8/S just like H8/300H throughout the entire file. * h8300/t-h8300 (MULTILIB_OPTIONS): Build "-ms" libraries too. (MULTILIB_DIRNAMES): Put H8/S libraries in "h8300s" directory. * h8300/lib1funcs.asm: Emit ".h8300s" pseudo-op when generating h8300s object files. Otherwise treat the H8/S just like the H8/300H. * ginclude/stdarg.h: Handle the H8/S. * ginclude/varargs.h: Likewise. From-SVN: r12410
1996-04-11lib1funcs.asm (modnorm): New function(s).Jeff Law1-2/+70
* lib1funcs.asm (modnorm): New function(s). Like divnorm, but gets the sign bit right for modulo operations. (__modhi3, modsi3): Use modnorm. From-SVN: r11701
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9975
1994-07-16Add libgcc copyright.Doug Evans1-2/+32
From-SVN: r7773
1994-07-11Initial revisionDoug Evans1-0/+672
From-SVN: r7726