This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i960 branch prediction
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: i960 branch prediction
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Tue, 30 May 2000 15:48:40 -0700
- cc: gcc-patches at gcc dot gnu dot org
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