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: cmov optimizations


On Tue, Jun 02, 1998 at 10:43:02PM -0600, Jeffrey A Law wrote:
> One of the other things what would be interesting would be to allow a
> more complex operand1 or operand2.  They could be memory loads, shifts,
> or any other single instruction on the PA.

Are you talking about conditional move or conditional execution?
The difference in my mind being

	load [mem],tmp
	cmov pred,tmp,dest

vs

	nullifynext pred
	load [mem],dest

which does rather different things when [mem] is invalid.  Similarly
for operations which might fault like div or any fp operation. 

In light of this, it seems to me that you'd want to treat conditional
execution different from conditional move.  Which is what I thought we
did.  Which is confusing me about what you are describing here wrt
the PA.

> Looks reasonable to me.

In.


r~


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