Re: powerpc: cmp -> cmpd for 64-bit
From: Segher Boessenkool <hidden>
Date: 2016-12-14 04:26:18
From: Segher Boessenkool <hidden>
Date: 2016-12-14 04:26:18
On Wed, Dec 14, 2016 at 02:01:50PM +1030, Joel Stanley wrote:
quoted
quoted
With older binutils this is silently accepted as if this was "cmpw", while often "cmpd" is wanted. With newer binutils GAS will complain about this for 64-bit code. For 32-bit code it still silently assumes "cmpw" is what is meant.
This one made it into 4.9-rc3 as "powerpc: Convert cmp to cmpd in idle enter sequence". We need it to build the 4.4 kernel with GCC 6.2, so my OpenPower firmware builds are failing.
The GCC version does not matter; the binutils version does, however. Segher