Re: [PATCH 01/10] rs6000: Clobber XER[CA] in all user asm statements

2015-01-19 Thread Segher Boessenkool
On Mon, Jan 19, 2015 at 01:53:06AM -0500, Hans-Peter Nilsson wrote: > On Mon, 8 Dec 2014, Segher Boessenkool wrote: > > > A lot of old user code clobbers the carry bit without telling the compiler > > about it. This used to just work, because the compiler never used the bit > > outside of a singl

Re: [PATCH 01/10] rs6000: Clobber XER[CA] in all user asm statements

2015-01-18 Thread Hans-Peter Nilsson
On Mon, 8 Dec 2014, Segher Boessenkool wrote: > A lot of old user code clobbers the carry bit without telling the compiler > about it. This used to just work, because the compiler never used the bit > outside of a single RTL instruction. But that will change. Let's clobber > the carry bit in ev

Re: [PATCH 01/10] rs6000: Clobber XER[CA] in all user asm statements

2014-12-09 Thread Richard Henderson
On 12/08/2014 06:25 AM, David Edelsohn wrote: > Okay. I don't know of another option that preserves backward > compatibility. If RTH looks at this series of patches, he may have a > better suggestion. No, this looks like what I'd do. Indeed, I added this hook back when the i386 port gained dire

Re: [PATCH 01/10] rs6000: Clobber XER[CA] in all user asm statements

2014-12-08 Thread David Edelsohn
On Mon, Dec 8, 2014 at 9:18 AM, Segher Boessenkool wrote: > A lot of old user code clobbers the carry bit without telling the compiler > about it. This used to just work, because the compiler never used the bit > outside of a single RTL instruction. But that will change. Let's clobber > the car