Re: naked zero_extracts longer than a word.

2009-05-11 Thread Daniel Jacobowitz
On Mon, May 11, 2009 at 12:25:50PM -0700, Ian Lance Taylor wrote: > I feel reasonably confident that there will never be a processor which > supports a bitfield instruction which operates on multiple hard register > simultaneously. I don't think that is a case we need to worry about. > > (I will

Re: naked zero_extracts longer than a word.

2009-05-11 Thread Ian Lance Taylor
Paolo Bonzini writes: > Ian Lance Taylor wrote: >> Kenneth Zadeck writes: >> >>> Would those that know, (or even those that are just generally vocal) be >>> willing to support a change rtl.texi for sign_extract (and by >>> implication, zero_extract) from >>> >>> If @var{loc} is in memory, its m

Re: naked zero_extracts longer than a word.

2009-05-11 Thread Toon Moene
Ian Lance Taylor wrote: I guess the obvious counterexample would be a processor which supported vector registers and supported bitfield operations on such registers. I don't know of any such processors. The Control Data Cyber 205 (roughly '75-'85). You could write the inner loop of the Siev

Re: naked zero_extracts longer than a word.

2009-05-11 Thread Paolo Bonzini
Jim Wilson wrote: > On Mon, 2009-05-11 at 10:52 -0400, Kenneth Zadeck wrote: >> Would those that know, (or even those that are just generally vocal) be >> willing to support a change rtl.texi for sign_extract (and by >> implication, zero_extract) from ... >> to a version that explicitly prohibits t

Re: naked zero_extracts longer than a word.

2009-05-11 Thread Paolo Bonzini
Ian Lance Taylor wrote: > Kenneth Zadeck writes: > >> Would those that know, (or even those that are just generally vocal) be >> willing to support a change rtl.texi for sign_extract (and by >> implication, zero_extract) from >> >> If @var{loc} is in memory, its mode must be a single-byte integer

Re: naked zero_extracts longer than a word.

2009-05-11 Thread Jim Wilson
On Mon, 2009-05-11 at 10:52 -0400, Kenneth Zadeck wrote: > Would those that know, (or even those that are just generally vocal) be > willing to support a change rtl.texi for sign_extract (and by > implication, zero_extract) from ... > to a version that explicitly prohibits the use of a mode longer

Re: naked zero_extracts longer than a word.

2009-05-11 Thread Ian Lance Taylor
Kenneth Zadeck writes: > Would those that know, (or even those that are just generally vocal) be > willing to support a change rtl.texi for sign_extract (and by > implication, zero_extract) from > > If @var{loc} is in memory, its mode must be a single-byte integer mode. > If @var{loc} is in a reg

naked zero_extracts longer than a word.

2009-05-11 Thread Kenneth Zadeck
Would those that know, (or even those that are just generally vocal) be willing to support a change rtl.texi for sign_extract (and by implication, zero_extract) from If @var{loc} is in memory, its mode must be a single-byte integer mode. If @var{loc} is in a register, the mode to use is specified