This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, i386] x87 fops can handle HImodes
- From: Uros Bizjak <uros at kss-loka dot si>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 07 Mar 2005 14:11:20 +0100
- Subject: [PATCH, i386] x87 fops can handle HImodes
- References: <20040927100743.17688.uros@kss-loka.si> <20050305194924.16237.qmail@sourceware.org>
Hello!
Attached patch implements handling of HImode inputs for i387 integer
fops. This is basically a patch, attached to PR 17688, that was already
reviewed and approved.
A couple of new patterns (and appropriate splitter) were added to handle
fp compares with HImode operands.
As existing TARGET_USE_FIOP was not enough, a new define
TARGET_USE_HIMODE_FIOP was added. This was needed to support pentium4,
which is TARGET_USE_FIOP target, but use of HImode inputs is not
recommended. So, these patterns are enabled only for i386, i486 and k6
target.