Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,250
    • Issues 5,250
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 561
    • Merge requests 561
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Merge requests
  • !5117

Support auto-detection of MAX_REAL_{FLOAT,DOUBLE}_REG up to 6 (#17953)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed arata, mizuki requested to merge aratamizuki/ghc:fp-registers into master Feb 25, 2021
  • Overview 3
  • Commits 2
  • Pipelines 3
  • Changes 6

This MR updates auto-detection logic of MAX_REAL_FLOAT_REG and MAX_REAL_DOUBLE_REG in MachRegs.h to support up to 6 registers each.

Notably, MAX_REAL_DOUBLE_REG will be increased from 2 to 4 on AArch64 (fixing #17953 (closed)).

A test is added to check that four FP registers are used when using foreign import prim on AArch64, by implementing the foreign functions in assembly.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fp-registers