[GHC] #7830: Error: operand out of range
GHC
ghc-devs at haskell.org
Fri Oct 2 14:32:26 UTC 2015
#7830: Error: operand out of range
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: trommler
Type: bug | Status: patch
Priority: highest | Milestone: 8.0.1
Component: Compiler | Version: 7.8.1-rc1
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc
Type of failure: Installing GHC | Test Case:
failed |
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1296
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"b29f20edb1ca7f1763ceb001e2bb2d5f2f11bec3/ghc" b29f20e/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="b29f20edb1ca7f1763ceb001e2bb2d5f2f11bec3"
nativeGen PPC: fix > 16 bit offsets in stack handling
Implement access to spill slots at offsets larger than 16 bits.
Also allocation and deallocation of spill slots was restricted to
16 bit offsets. Now 32 bit offsets are supported on all PowerPC
platforms.
The implementation of 32 bit offsets requires more than one instruction
but the native code generator wants one instruction. So we implement
pseudo-instructions that are pretty printed into multiple assembly
instructions.
With pseudo-instructions for spill slot allocation and deallocation
we can also implement handling of the back chain pointer according
to the ELF ABIs.
Test Plan: validate (especially on powerpc (32 bit))
Reviewers: bgamari, austin, erikd
Reviewed By: erikd
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1296
GHC Trac Issues: #7830
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7830#comment:38>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list