Re: A question about combining constraints

2011-01-16 Thread Gerald Pfeifer
On Fri, 12 Nov 2010, Joern Rennecke wrote: Please read the node "Register Classes" in doc/tm.texi . I am sorry , could you please highlight the relevant portion for me? In the pattern that i have given the combination (a,W) satisfies the pattern. But its not matched because i have given then lik

Re: A question about combining constraints

2010-11-12 Thread Joern Rennecke
Quoting Dave Korn : Had a good look through and still couldn't find it, would you mind giving me a pointer to where should I start reading? reload.c line 4094 (as of revision 18)

Re: A question about combining constraints

2010-11-12 Thread Dave Korn
On 12/11/2010 16:06, Joern Rennecke wrote: > Quoting Dave Korn: > >> Is that documented anywhere? I couldn't find it in the constraints >> chapters of the internals manual. > > It's in the reload source code... Had a good look through and still couldn't find it, would you mind giving me a poi

Re: A question about combining constraints

2010-11-12 Thread Joern Rennecke
Quoting Dave Korn : Is that documented anywhere? I couldn't find it in the constraints chapters of the internals manual. It's in the reload source code... And there are subtle register priority implications of having merged or separate alternatives. Sorry, is this separate from the

Re: A question about combining constraints

2010-11-12 Thread Dave Korn
On 12/11/2010 15:32, Joern Rennecke wrote: > Quoting Dave Korn : > >> By "combine constraints", you mean "Omit all the commas between >> alternatives, mash them together in a single string, and expect GCC >> to permute >> all the possible combinations"? >> >> I didn't know that was possible a

Re: A question about combining constraints

2010-11-12 Thread Joern Rennecke
Quoting Dave Korn : By "combine constraints", you mean "Omit all the commas between alternatives, mash them together in a single string, and expect GCC to permute all the possible combinations"? I didn't know that was possible at all. I thought GCC would interpret those as multi-le

Re: A question about combining constraints

2010-11-12 Thread Dave Korn
On 12/11/2010 12:51, Mohamed Shafi wrote: > All the constraints are one letter constraints for my target. Here 'W' > is for symbol_ref and all others are register constraints. So for a > particular combination when operand 0 is 'a' and operand 1 is 'W' i > got the following ICE : > I get this ICE

Re: A question about combining constraints

2010-11-12 Thread Joern Rennecke
Quoting Mohamed Shafi : On 12 November 2010 18:39, Joern Rennecke wrote: Quoting Mohamed Shafi : So i have the following questions: 1. Why is that constraints are not matched here? Please read the node "Register Classes" in doc/tm.texi . I am sorry , could you please highlight the rele

Re: A question about combining constraints

2010-11-12 Thread Mohamed Shafi
On 12 November 2010 18:39, Joern Rennecke wrote: > Quoting Mohamed Shafi : > >> So i have the following questions: >> >> 1. Why is that constraints are not matched here? > > Please read the node "Register Classes" in doc/tm.texi . > I am sorry , could you please highlight the relevant portion for

Re: A question about combining constraints

2010-11-12 Thread Joern Rennecke
Quoting Mohamed Shafi : So i have the following questions: 1. Why is that constraints are not matched here? Please read the node "Register Classes" in doc/tm.texi .