This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
combine --enable-target-optspace with PREFER_SIZE_OVER_SPEED?
- From: "Jaap de Wolff" <info at jasoon dot nl>
- To: <newlib at sourceware dot org>
- Date: Sat, 17 Feb 2018 14:31:28 +0100
- Subject: combine --enable-target-optspace with PREFER_SIZE_OVER_SPEED?
- Authentication-results: sourceware.org; auth=none
Hello,
Is there anything against combining --enable-target-optspace with
PREFER_SIZE_OVER_SPEED?
At this moment PREFER_SIZE_OVER_SPEED is defined for a few selected
processors, and cannot be configured itself.
I do think it makes sense that when setting --enable-target-optspace also
defines PREFER_SIZE_OVER_SPEED.
The implementation I have in mind is:
We let the processors for which that at this moment PREFER_SIZE_OVER_SPEED
is defined, default to --enable-target-optspace.
All other processors will default to --disable-target-optspace.
When --enable-target-optspace is given we also define
PREFER_SIZE_OVER_SPEED.
On processors that default to --enable-target-optspace, we can undef
PREFER_SIZE_OVER_SPEED by configuring with --disable-target-optspace
Arguments pro- against?
Jaap de Wolff