mirror of
https://github.com/google/brotli.git
synced 2026-09-22 22:56:08 +00:00
[PR #1204] [MERGED] Reduce fdiv's into fmul's #1763
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/1204
Author: @heshpdx
Created: 10/5/2024
Status: ✅ Merged
Merged: 11/19/2024
Merged by: @copybara-service[bot]
Base:
master← Head:master📝 Commits (5)
cefec3cReduce fdiv's into fmul'scec846fUpdate c/enc/block_splitter_inc.h1054eccAdd static variables as per code review comments.782aaddApply suggestions from code review8c6d25fUpdate c/enc/encode.c📊 Changes
3 files changed (+11 additions, -6 deletions)
View changed files
📝
c/enc/block_splitter_inc.h(+4 -2)📝
c/enc/encode.c(+3 -2)📝
c/enc/literal_cost.c(+4 -2)📄 Description
Provides small speedup on microarchitectures where the floating point divide is slower than the floating point multiply.
As measured on an Ampere Altra, I see about +0.5% depending on the input.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.