Re: [PATCH 06/10] rs6000: New add/subf carry insns

2014-12-10 Thread David Edelsohn
On Wed, Dec 10, 2014 at 9:00 AM, Segher Boessenkool wrote: > On Mon, Dec 08, 2014 at 10:53:21AM -0500, David Edelsohn wrote: >> As we both noticed, there are a few problems with this patch, so I'll >> wait for a revised version. > > Here it is. It took a bit longer because of a latent problem in

Re: [PATCH 06/10] rs6000: New add/subf carry insns

2014-12-10 Thread Segher Boessenkool
On Mon, Dec 08, 2014 at 10:53:21AM -0500, David Edelsohn wrote: > As we both noticed, there are a few problems with this patch, so I'll > wait for a revised version. Here it is. It took a bit longer because of a latent problem in combine (ugh!) that caused mysterious failures in guality (double u

Re: [PATCH 06/10] rs6000: New add/subf carry insns

2014-12-08 Thread David Edelsohn
On Mon, Dec 8, 2014 at 10:41 AM, David Edelsohn wrote: > On Mon, Dec 8, 2014 at 9:18 AM, Segher Boessenkool > wrote: >> This implements addc, addic, adde, addze, addme, subfc, subfic, subfe, >> subfze, subfme. Some of those in multiple forms: canonical RTL for the >> "immediate" insns has four f

Re: [PATCH 06/10] rs6000: New add/subf carry insns

2014-12-08 Thread David Edelsohn
On Mon, Dec 8, 2014 at 9:18 AM, Segher Boessenkool wrote: > This implements addc, addic, adde, addze, addme, subfc, subfic, subfe, > subfze, subfme. Some of those in multiple forms: canonical RTL for the > "immediate" insns has four forms; subfX has a special form for subtracting > a register fro

[PATCH 06/10] rs6000: New add/subf carry insns

2014-12-08 Thread Segher Boessenkool
This implements addc, addic, adde, addze, addme, subfc, subfic, subfe, subfze, subfme. Some of those in multiple forms: canonical RTL for the "immediate" insns has four forms; subfX has a special form for subtracting a register from itself. All these new insns get type "add" for now. 2014-12-08