Re: float "op-and-halve"

2011-10-06 Thread Richard Henderson
On 10/05/2011 07:16 PM, David Miller wrote: > From: David Bremner > Date: Wed, 5 Oct 2011 19:08:41 -0700 > >> What about treating these instructions as fused multiply-adds with >> constant arguments? > > Richard Henderson (CC:'d) chatted with me the other day about this and > made the same initi

float "op-and-halve"

2011-09-30 Thread David Miller
I'm planning to support some new instructions found in recent sparc cpus, specifically VIS 3.0 adds a series of "X and halve" floating-point instructions where X is one of "add" or "subtract". There are variants which negate the result as well. They operate similar to FMA in that all the operati