Opened 4 years ago

Closed 4 years ago

#11273 closed bug (fixed)

PowerPC NCG: Assign all STG float and double regs to PowerPC registers

Reported by: trommler Owned by: trommler
Priority: normal Milestone: 8.2.1
Component: Compiler (CodeGen) Version: 7.11
Keywords: Cc:
Operating System: Linux Architecture: powerpc
Type of failure: Runtime performance bug Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D1914
Wiki Page:

Description

Currently only F1 through F4 and D1 and D2 are assigned to registers in the PowerPC backend.

Assign F5 and F6 and D3 through D6 to registers too.

Change History (4)

comment:1 Changed 4 years ago by trommler

Differential Rev(s): Phab:1914
Status: newpatch

comment:2 Changed 4 years ago by trommler

Differential Rev(s): Phab:1914Phab:D1914

comment:3 Changed 4 years ago by Ben Gamari <ben@…>

In 3116003/ghc:

PowerPC: Improve float register assignment.

On Linux assign F5 and F6 and D3 through D6 to caller-saved registers.

Fixes #11273

Test Plan: validate on powerpc (I validated on powerpc64)

Reviewers: bgamari, erikd, austin

Reviewed By: erikd, austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1914

GHC Trac Issues: #11273

comment:4 Changed 4 years ago by bgamari

Resolution: fixed
Status: patchclosed
Note: See TracTickets for help on using tickets.