gcc/libgcc/config/avr
Georg-Johann Lay e13d9d5aeb Adjust decimal point of signed accum mode to GCC default.
libgcc/
	Adjust decimal point of signed accum mode to GCC default.

	PR target/54222
	* config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
	_divqq_helper.
	* config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
	(__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
	(__mulha3, __mulsa3)
	(__divqq3, __divha3, __divsa3): Adjust to new position of
	decimal point of signed accum types. 
	
	(__mulusa3_round): New function.
	(__mulusa3): Use it.
	(__divqq_helper): New function.
	(__udivuqq3): Use it.

gcc/
	Adjust decimal point of signed accum mode to GCC default.

	PR target/54222
	* config/avr/avr-modes.def (HA, SA, DA): Remove mode adjustments.
	(TA): Move decimal point one bit to the right.
	* config/avr/avr.c (avr_out_fract): Rewrite.

From-SVN: r193721
2012-11-22 10:00:13 +00:00
..
avr-lib.h
lib1funcs-fixed.S Adjust decimal point of signed accum mode to GCC default. 2012-11-22 10:00:13 +00:00
lib1funcs.S re PR target/54222 ([avr] Implement fixed-point support) 2012-09-15 15:52:28 +00:00
t-avr Adjust decimal point of signed accum mode to GCC default. 2012-11-22 10:00:13 +00:00
t-avrlibc re PR target/54461 ([avr] add configure option for better AVR-Libc integration) 2012-09-05 08:47:50 +00:00
t-rtems