Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SCP-firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • 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
  • Firmware
  • SCP-firmware
  • Merge requests
  • !178

juno/cdcel937: Low precision should mean low precision when calculating

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Darryl Green requested to merge github/fork/jimqui01/master into master Jan 10, 2020
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: jimqui01

preset.

If the preset is not found in the lookup table it is calculated using the rate in MHz. To avoid floating point arithmetic and the associated memory cost we will simplify the (rate / MHz) calculation to be a uint32_t operation.

This results in a memory saving of approximately 1.5kb. As we should usually get a hit in the lookup table this is an acceptable trade-off.

Change-Id: I2e2a78f85bdb3cd9e35149a324000935d3d8ebb5 Signed-off-by: Jim Quigley jim.quigley@arm.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jimqui01/master