This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
TARGET_MACRO_FUSION_PAIR for something besides compare-and-branch ?
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 28 May 2014 15:13:52 +0100
- Subject: TARGET_MACRO_FUSION_PAIR for something besides compare-and-branch ?
- Authentication-results: sourceware.org; auth=none
Hi all,
The documentation for TARGET_MACRO_FUSION_PAIR says that it can be used
to tell the scheduler that two insns should not be scheduled apart. It
doesn't specify what kinds of insns those can be.
Yet from what I can see in sched-deps.c it can only be used on compares
and conditional branches,
as implemented in i386.
Say I want to specify two other types of instruction that I want to
force together, would it be worth
generalising the TARGET_MACRO_FUSION_PAIR usage to achieve that?
Thanks,
Kyrill