aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/arc
AgeCommit message (Collapse)AuthorFilesLines
2017-03-27[ARC] Fix divdf3 emulation for arcem.Claudiu Zissulescu1-4/+4
libgcc/ 2017-02-27 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__. From-SVN: r246498
2017-01-01Update copyright years.Jakub Jelinek50-50/+50
From-SVN: r243994
2016-12-16[ARC] Rework code for profiling.Claudiu Zissulescu16-1520/+0
gcc/ 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.h (LINK_SPEC): Tidy up. (ENDFILE_SPEC): Likewise. (LIB_SPEC): Likewise. (STARTFILE_SPEC): Include gcrt0 when profiling. (FUNCTION_PROFILER): Use __mcount. * config/arc/arc.opt (mucb-mcount): Remove. * doc/invoke.texi (ARC): Remove mucb-mcount doc. * arc/arc-protos.h (arc_profile_call): Remove. * config/arc/arc.c (write_profile_sections): Likewise. (arc_profile_call): Likewise. (unspec_prof_hash): Likewise. (unspec_prof_htab_eq): Likewise. (arc_legitimate_constant_p): Remove UNSPEC_PROF. (arc_reorg): Remove call to write_profile_sections. * config/arc/arc.md (call): Remove call to arc_profile_call. (call_value): Likewise. (sibcall): Likewise. (sibcall_value): Likewise. (define_constants): Remove UNSPEC_PROF. libgcc/ * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and crtgend. (arc*-*-elf*): Likewise. * config/arc/t-arc: Remove old gmon lib targets. * config/arc/crtg.S: Remove. * config/arc/crtgend.S: Likewise. * config/arc/gmon/atomic.h: Likewise. * config/arc/gmon/auxreg.h: Likewise. * config/arc/gmon/dcache_linesz.S: Likewise. * config/arc/gmon/gmon.c: Likewise. * config/arc/gmon/machine-gmon.h: Likewise. * config/arc/gmon/mcount.c: Likewise. * config/arc/gmon/prof-freq-stub.S: Likewise. * config/arc/gmon/prof-freq.c: Likewise. * config/arc/gmon/profil.S: Likewise. * config/arc/gmon/sys/gmon.h: Likewise. * config/arc/gmon/sys/gmon_out.h: Likewise. * config/arc/t-arc-newlib: Likewise. * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc. From-SVN: r243742
2016-12-05[ARC] Fix PIE.Cupertino Miranda1-0/+2
gcc/ 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com> * config/arc/arc.h (STARTFILE_SPEC): Use default linux specs. (ENDFILE_SPEC): Likewise. libgcc/ 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com> * config.host (arc*-*-linux-uclibc*): Use default extra objects. Include linux-android header. * config/arc/crti.S (_init): Declare symbol as function. (_fini): Likewise. From-SVN: r243245
2016-11-17[ARC][libgcc] Add support for QuarkSE processor.Claudiu Zissulescu3-66/+74
libgcc/ 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/dp-hack.h (ARC_OPTFPE): Define. (__ARC_NORM__): Use instead ARC_OPTFPE. * config/arc/fp-hack.h: Likewise. * config/arc/lib1funcs.S (ARC_OPTFPE): Define. (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__. From-SVN: r242547
2016-11-15[ARC] [libgcc] Fix definesClaudiu Zissulescu1-21/+24
libgcc/ 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead of checking for cpus. (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3) (__modsi3, __clzsi2): Likewise. From-SVN: r242428
2016-04-29[ARC] Handle FPX NaN within optimized floating point library.Claudiu Zissulescu1-5/+10
gcc/ 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com> * testsuite/gcc.target/arc/ieee_eq.c: New test. libgcc/ 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/ieee-754/eqdf2.S: Handle FPX NaN. From-SVN: r235633
2016-04-28[ARC/LIBGCC] Add TLS support.Claudiu Zissulescu2-0/+70
libgcc/ 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com> Joern Rennecke <joern.rennecke@embecosm.com> * config/arc/crttls.S: New file. * config/arc/t-arc: New rule. * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o. Co-Authored-By: Joern Rennecke <joern.rennecke@embecosm.com> From-SVN: r235558
2016-01-04Update copyright years.Jakub Jelinek63-63/+63
From-SVN: r232055
2015-11-11dp-hack.h: Add support for ARCHS.Claudiu Zissulescu10-31/+75
2015-11-11 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/dp-hack.h: Add support for ARCHS. * config/arc/ieee-754/divdf3.S: Likewise. * config/arc/ieee-754/divsf3-stdmul.S: Likewise. * config/arc/ieee-754/muldf3.S: Likewise. * config/arc/ieee-754/mulsf3.S: Likewise * config/arc/lib1funcs.S: Likewise * config/arc/gmon/dcache_linesz.S: Don't read the build register for ARCv2 cores. * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile for ARCv2 cores. * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define. * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700 cores. From-SVN: r230151
2015-01-05Update copyright years.Jakub Jelinek63-63/+63
From-SVN: r219188
2014-01-02Update copyright years in libgcc/Richard Sandiford63-63/+63
From-SVN: r206295
2014-01-02arc-common.c, [...]: Use the standard form for the copyright notice.Richard Sandiford49-54/+49
gcc/ * common/config/arc/arc-common.c, config/arc/arc-modes.def, config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h, config/arc/arc.md, config/arc/arc.opt, config/arm/arm_neon_builtins.def, config/arm/crypto.def, config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h, config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h, config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md, config/linux-protos.h, config/linux.c, config/winnt-c.c, diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c, vtable-verify.c, vtable-verify.h: Use the standard form for the copyright notice. gcc/c-family/ * array-notation-common.c, c-cilkplus.c: Use the standard form for the copyright notice. gcc/c/ * c-array-notation.c: Use the standard form for the copyright notice. gcc/cp/ * cp-array-notation.c, cp-cilkplus.c, vtable-class-hierarchy.c: Use the standard form for the copyright notice. gcc/testsuite/ * gcc.target/arc/arc.exp: Use the standard form for the copyright notice. libgcc/ * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S, config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c, config/arc/dp-hack.h, config/arc/fp-hack.h, config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S, config/arc/ieee-754/arc600-dsp/divdf3.S, config/arc/ieee-754/arc600-dsp/divsf3.S, config/arc/ieee-754/arc600-dsp/muldf3.S, config/arc/ieee-754/arc600-dsp/mulsf3.S, config/arc/ieee-754/arc600-mul64/divdf3.S, config/arc/ieee-754/arc600-mul64/divsf3.S, config/arc/ieee-754/arc600-mul64/muldf3.S, config/arc/ieee-754/arc600-mul64/mulsf3.S, config/arc/ieee-754/arc600/divsf3.S, config/arc/ieee-754/arc600/mulsf3.S, config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S, config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c, config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S, config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S, config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S, config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S, config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S, config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S, config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S, config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S, config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S, config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S, config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c, config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib, config/cris/umulsidi3.S, config/msp430/cmpsi2.S, config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c, config/msp430/lib2divHI.c, config/msp430/lib2divQI.c, config/msp430/lib2divSI.c, config/msp430/lib2mul.c, config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h, config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S, config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S, config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c, vtv_start_preinit.c: Use the standard form for the copyright notice. libgomp/ * hashtab.h: Use the standard form for the copyright notice. libstdc++-v3/ * testsuite/18_support/new_handler.cc, testsuite/18_support/terminate_handler.cc, testsuite/18_support/unexpected_handler.cc: Use the standard form for the copyright notice. From-SVN: r206288
2013-10-02In accordance with http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00131.html :Joern Rennecke53-53/+53
gcc: * config/arc/arc-opts.h: Add 2013 to Copyright years. * config/arc/arc700.md: Likewise. * config/arc/arc-modes.def: Likewise. * config/arc/arc-simd.h: Likewise. * config/arc/t-arc-uClibc: Likewise. * config/arc/t-arc-newlib: Likewise. libgcc: * config/arc/crtgend.S: Add 2013 to Copyright years. * config/arc/gmon/atomic.h: Likewise. * config/arc/gmon/auxreg.h: Likewise. * config/arc/gmon/sys/gmon_out.h: Likewise. * config/arc/gmon/sys/gmon.h: Likewise. * config/arc/gmon/prof-freq.c: Likewise. * config/arc/gmon/mcount.c: Likewise. * config/arc/gmon/prof-freq-stub.S: Likewise. * config/arc/gmon/gmon.c: Likewise. * config/arc/gmon/machine-gmon.h: Likewise. * config/arc/gmon/profil.S: Likewise. * config/arc/gmon/dcache_linesz.S: Likewise. * config/arc/crtg.S: Likewise. * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise. * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise. * config/arc/ieee-754/adddf3.S: Likewise. * config/arc/ieee-754/truncdfsf2.S: Likewise. * config/arc/ieee-754/fixsfsi.S: Likewise. * config/arc/ieee-754/gtsf2.S: Likewise. * config/arc/ieee-754/floatsisf.S: Likewise. * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise. * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise. * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise. * config/arc/ieee-754/fixdfsi.S: Likewise. * config/arc/ieee-754/addsf3.S: Likewise. * config/arc/ieee-754/gesf2.S: Likewise. * config/arc/ieee-754/floatsidf.S: Likewise. * config/arc/ieee-754/extendsfdf2.S: Likewise. * config/arc/ieee-754/divtab-arc-df.c: Likewise. * config/arc/ieee-754/gtdf2.S: Likewise. * config/arc/ieee-754/fixunsdfsi.S: Likewise. * config/arc/ieee-754/uneqdf2.S: Likewise. * config/arc/ieee-754/divsf3-stdmul.S: Likewise. * config/arc/ieee-754/uneqsf2.S: Likewise. * config/arc/ieee-754/arc-ieee-754.h: Likewise. * config/arc/ieee-754/divtab-arc-sf.c: Likewise. * config/arc/ieee-754/eqdf2.S: Likewise. * config/arc/ieee-754/ordsf2.S: Likewise. * config/arc/ieee-754/divsf3.S: Likewise. * config/arc/ieee-754/divdf3.S: Likewise. * config/arc/ieee-754/floatunsidf.S: Likewise. * config/arc/ieee-754/orddf2.S: Likewise. * config/arc/ieee-754/eqsf2.S: Likewise. * config/arc/ieee-754/gedf2.S: Likewise. * config/arc/crtn.S: Likewise. * config/arc/crti.S: Likewise. * config/arc/t-arc700-uClibc: Likewise. * config/arc/asm.h: Likewise. * config/arc/libgcc-excl.ver: Likewise. * config/arc/t-arc-newlib: Likewise. * config/arc/divtab-arc700.c: Likewise. * config/arc/initfini.c: Likewise. * config/arc/fp-hack.h: Likewise. From-SVN: r203110
2013-10-01simdext.md: Update copyright years.Joern Rennecke3-3/+3
gcc: * config/arc/simdext.md: Update copyright years. libgcc: * config/arc/ieee-754/arc600-dsp/muldf3.S: Update copyright years * config/arc/ieee-754/arc600-mul64/muldf3.S: Likewise. * config/arc/ieee-754/muldf3.S: Likewise. From-SVN: r203094
2013-10-01muldf3.S (.Linf_denorm): Likewise.Joern Rennecke3-3/+3
* config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise. * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise. * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise. Co-Authored-By: Diego Novillo <dnovillo@google.com> From-SVN: r203083
2013-10-01mcount.c (_MCOUNT_DECL): Comment typo fix.Joern Rennecke1-1/+1
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com> Diego Novillo <dnovillo@google.com> * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix. Co-Authored-By: Diego Novillo <dnovillo@google.com> From-SVN: r203081
2013-10-01config.host (arc*-*-elf*, [...]): New configurations.Joern Rennecke63-0/+10224
2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com> Brendan Kehoe <brendan@zen.org> Simon Cook <simon.cook@embecosm.com> * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations. * config/arc: New directory. * longlong.h [__arc__] (umul_ppmm): Remove. [__arc__] (__umulsidi3): Define. [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define. [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise. Co-Authored-By: Brendan Kehoe <brendan@zen.org> Co-Authored-By: Simon Cook <simon.cook@embecosm.com> From-SVN: r203073