Re: [PATCH 1/3] selftests/powerpc: Standardise TM calls

2015-12-01 Thread Anshuman Khandual
On 12/02/2015 09:10 AM, Michael Ellerman wrote: > On Tue, 2015-12-01 at 13:38 +0530, Anshuman Khandual wrote: >> > On 12/01/2015 10:38 AM, Rashmica Gupta wrote: >>> > > Currently tbegin, tend etc are written as opcodes or asm instructions. >>> > > So >>> > > standardise these to asm instructions.

Re: [PATCH 1/3] selftests/powerpc: Standardise TM calls

2015-12-01 Thread Michael Ellerman
On Tue, 2015-12-01 at 13:38 +0530, Anshuman Khandual wrote: > On 12/01/2015 10:38 AM, Rashmica Gupta wrote: > > Currently tbegin, tend etc are written as opcodes or asm instructions. So > > standardise these to asm instructions. > > I think the asm instructions can be used with only newer versions

Re: [PATCH 1/3] selftests/powerpc: Standardise TM calls

2015-12-01 Thread Anshuman Khandual
On 12/01/2015 10:38 AM, Rashmica Gupta wrote: > Currently tbegin, tend etc are written as opcodes or asm instructions. So > standardise these to asm instructions. I think the asm instructions can be used with only newer versions of GCC. But not sure, does it work with the older gcc as well ?