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: inline asm constraints for conditions


>>>>> Gabriel Paubert writes:

Gabriel> One thing I've done in a few cases when testing several flags in PPC
Gabriel> assembly is moving the flags to CR with an mtcrf instruction and
Gabriel> then use bt/bf on the corresponding bit. This eliminates quite a few
Gabriel> testing instructions and allows to prepare the CR field(s) well in
Gabriel> advance. GCC does not do anything remotely similar AFAICT. 
Gabriel> Is this kind of technique what you have in mind?

	Yes, this is what I was describing.

David


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