Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kenneth Graunke
  • mesamesa
  • Merge requests
  • !15

compress register allocation sets

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dylan Baker requested to merge dbaker/mesa:ibc-ra-sets-zstd into ibc Sep 30, 2020
  • Overview 4
  • Commits 7
  • Pipelines 10
  • Changes 7

This series uses either zlib or zstd to compress the Register Allocation sets that IBC generates at build time, and store them compressed in the read only data section of the elf binary. I've done some testing of the zlib version, but only touch testing of the zstd (it seems to work, and zstd is better at detecting errors in decompression than zlib is from an API point of view).

It uses objcopy to take the compressed data and shove it into a .o file that we later link into the final library.

There are two things about this series I'm not sure about.

  1. it bails when anything goes wrong
  2. it creates several new externed symbols, this is a result of using objcopy
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ibc-ra-sets-zstd