Saving to 32 bits of GPRs in signal context
Kumar Gala
galak at kernel.crashing.org
Wed May 30 22:13:26 EST 2007
On May 30, 2007, at 5:04 AM, Christoph Hellwig wrote:
> On Tue, May 29, 2007 at 02:04:02PM -0500, Becky Bruce wrote:
>> I think that's exactly what Kumar's talking about. The assumption
>> that all 64-bit Power processors will use those upper bits in some
>> meaningful way is not valid. Also, ld and std do not architecturally
>> "just work" on BookE implementations running in 32b mode. Those
>> instructions are part of the 64-bit category in 2.03, and may illop
>> on BookE processors running in 32b mode.
>
> Then Bens suggest mode will only work on the sane IBM processors and
> not the braindead freescale ones. Wouldn't be the first time.
This isn't sane vs braindead. Its one thing if this was some quirk
of an implementation, but we are talking about what the architecture
does and doesn't allow. There a reasonable reason that a processor
for the embedded processor would be able to save power in 32-bit mode
by not powering the upper bits of the register file.
- k
More information about the Linuxppc-dev
mailing list