gcc/libgcc/config
Georg-Johann Lay 0ad8bb3bc0 re PR target/49313 (Inefficient libgcc implementations for avr)
gcc/
	PR target/49313
	PR target/29524
	* longlong.h: Add AVR support:
	(count_leading_zeros): New macro.
	(count_trailing_zeros): New macro.
	(COUNT_LEADING_ZEROS_0): New macro.
	* config/avr/t-avr (LIB1ASMFUNCS): Add
	_ffssi2, _ffshi2, _loop_ffsqi2,
	_ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2, 
	_paritydi2, _paritysi2, _parityhi2,
	_popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2,
	_bswapsi2, _bswapdi2,
	_ashldi3, _ashrdi3, _lshrdi3
	(LIB2FUNCS_EXCLUDE): Add _clz.
	* config/avr/libgcc.S (XCALL): Move up in file.
	(XJMP): New C Macro.
	(DEFUN): New asm macro.
	(ENDF): New asm macro.
	(__ffssi2): New function.
	(__ffshi2): New function.
	(__loop_ffsqi2): New function.
	(__ctzsi2): New function.
	(__ctzhi2): New function.
	(__clzdi2): New function.
	(__clzsi2): New function.
	(__clzhi2): New function.
	(__paritydi2): New function.
	(__paritysi2): New function.
	(__parityhi2): New function.
	(__popcounthi2): New function.
	(__popcountsi2): New function.
	(__popcountdi2): New function.
	(__popcountqi2): New function.
	(__bswapsi2): New function.
	(__bswapdi2): New function.
	(__ashldi3): New function.
	(__ashrdi3): New function.
	(__lshrdi3): New function.
	Fix suspicous lines.

libgcc/
	PR target/49313
	PR target/29524
	* config/avr/t-avr: Fix line endings.
	(intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
	_parityXX2.

From-SVN: r175097
2011-06-16 09:06:44 +00:00
..
alpha linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
arm config.gcc (libgcc_tm_file): Define instead of including files from ../../libgcc/config/ in tm_file. 2011-05-10 15:41:47 +01:00
avr re PR target/49313 (Inefficient libgcc implementations for avr) 2011-06-16 09:06:44 +00:00
bfin linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
frv config.gcc (arm*-*-linux-*eabi): Add bpabi.h from libgcc. 2010-10-14 12:35:43 +00:00
i386 netbsd.h (ENABLE_EXECUTE_STACK): Remove. 2011-06-09 12:30:46 +00:00
ia64 linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
libbid Update Copyright years for files modified in 2010. 2011-01-03 21:52:22 +01:00
lm32
m68k linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
microblaze Check in support for Xilinx MicroBlaze processor. 2010-09-30 18:21:57 +00:00
mips irix6-unwind.h: New file. 2011-06-14 12:20:08 +00:00
mmix
moxie
pa linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
rs6000 linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
rx
s390 linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
sh linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
sparc invoke.texi (SPARC options): Add -mflat. 2011-06-10 10:50:20 +00:00
xtensa linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
gmon-sol2.c gmon-sol2.c: Reindent. 2011-06-01 14:46:24 +00:00
no-unwind.h linux.h (MD_UNWIND_SUPPORT): Remove. 2011-06-03 18:30:39 +00:00
t-crtfm t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-crtin t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-gnu-prefix libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if LIBGCC2_GNU_PREFIX is defined. 2011-05-25 12:11:42 +00:00
t-rtems t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-slibgcc t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-slibgcc-darwin re PR bootstrap/49173 (No rule to make target ../../../../work/libgcc/../gcc/libgcc-std.ver', needed by libgcc.map'.) 2011-05-27 07:53:51 +00:00
t-slibgcc-elf-ver t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-slibgcc-gld t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-slibgcc-sld t-slibgcc-darwin: Move to ... 2011-06-01 14:39:17 +00:00
t-softfp
t-sol2 Makefile.in (LIB2ADDEHDEP): Remove. 2011-06-03 16:07:21 +00:00
t-stack t-stack (LIB2ADD_ST): Set instead of LIB2ADD. 2010-10-01 19:31:49 +00:00
t-tls