This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i960 branch prediction


Branch prediction is a C series model specific feature.  It is not part of the
i960 architecture.  So you should only emit the .t/.f suffices if the target is
a C series processor.  There is a flag for this, TARGET_FLAG_BRANCH_PREDICT.

I think all you need to do is fix the '+' specifier to check
TARGET_FLAG_BRANCH_PREDICT, and then the patch should be OK.

Jim

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]