This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: [MIPS]question about floating point conditional branch


"Eric Fisher" <joefoxreal@gmail.com> writes:
> In mips.md, conditional branch insns are all set with the attribute
> value 'branch'. But floating point instructions such as bc1f will
> reserve falu unit instead of ialu. So there's a problem when you try
> to describe pipeline for 'branch' insns. Define the ialu as the
> reservation for all 'branch' insns? Is it OK?

It's certainly OK to split to "branch" into "ibranch" and "fbranch"
if there's a use for it.  The only reason we haven't done so up till
now is because no-one's really needed to.  

That's the way things usually work the "type" attribute:
it starts out as coarse-grained as possible, then we add new
classifications when we need them.

Richard


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