Commit 4aeaaca3 by Georg-Johann Lay Committed by Georg-Johann Lay

re PR target/54222 ([avr] Implement fixed-point support)

	PR target/54222
	* config/avr/t-avr (conv_X): Rename to func_X.

From-SVN: r190646
parent 2eb712b4
2012-08-24 Georg-Johann Lay <avr@gjlay.de> 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
PR target/54222 PR target/54222
* config/avr/t-avr (conv_X): Rename to func_X.
2012-08-24 Georg-Johann Lay <avr@gjlay.de>
PR target/54222
* config/avr/lib1funcs-fixed.S: New file. * config/avr/lib1funcs-fixed.S: New file.
* config/avr/lib1funcs.S: Include it. Undefine some divmodsi * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
after they are used. after they are used.
......
...@@ -105,7 +105,7 @@ endif ...@@ -105,7 +105,7 @@ endif
# Filter out supported conversions from fixed-bit.c # Filter out supported conversions from fixed-bit.c
conv_XY=$(conv)$(mode1)$(mode2) conv_XY=$(conv)$(mode1)$(mode2)
conv_X=$(conv)$(mode) func_X=$(func)$(mode)
# Conversions supported by the compiler # Conversions supported by the compiler
...@@ -140,9 +140,9 @@ LIB2FUNCS_EXCLUDE += \ ...@@ -140,9 +140,9 @@ LIB2FUNCS_EXCLUDE += \
allfix_modes = QQ UQQ HQ UHQ HA UHA SQ USQ SA USA DA UDA DQ UDQ TQ UTQ TA UTA allfix_modes = QQ UQQ HQ UHQ HA UHA SQ USQ SA USA DA UDA DQ UDQ TQ UTQ TA UTA
LIB2FUNCS_EXCLUDE += \ LIB2FUNCS_EXCLUDE += \
$(foreach conv,_add _sub,\ $(foreach func,_add _sub,\
$(foreach mode,$(allfix_modes),$(conv_X)3)) $(foreach mode,$(allfix_modes),$(func_X)3))
LIB2FUNCS_EXCLUDE += \ LIB2FUNCS_EXCLUDE += \
$(foreach conv,_lshr _ashl _ashr _cmp,\ $(foreach func,_lshr _ashl _ashr _cmp,\
$(foreach mode,$(allfix_modes),$(conv_X))) $(foreach mode,$(allfix_modes),$(func_X)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment