Skip to content

ruy: Fix OOM wild pointer, float cache eviction, and ARM asm bugs - #387

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_1018935539
Nov 12, 2026
Merged

copybara-service[bot] merged 1 commit into
masterfrom
test_1018935539

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

ruy: Fix OOM wild pointer, float cache eviction, and ARM asm bugs

Guard Allocator consolidation OOM, return 0 SumsBytes for float
matrices in PrepackedCache, and fix ARM32/AArch64 inline asm
constraints and clobbers.

bazel test //ruy:allocator_test:

Before:
  [ RUN      ] AllocatorTest.MulSurvivesConsolidationOom
  *** SIGSEGV (@0x200) in ruy::PackFloatColMajorForNeon() (x8=200)
After:
  [       OK ] AllocatorTest.MulSurvivesConsolidationOom

@google-cla

google-cla Bot commented Nov 11, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service
copybara-service Bot force-pushed the test_1018935539 branch 2 times, most recently from bd7365f to 2ff64d7 Compare November 12, 2026 17:55
@copybara-service copybara-service Bot changed the title Fix Ruy OOM wild pointer, float cache eviction, and ARM asm bugs. ruy: Fix OOM wild pointer, float cache eviction, and ARM asm bugs Nov 12, 2026
Guard `Allocator` consolidation OOM, return 0 `SumsBytes` for float
matrices in `PrepackedCache`, and fix ARM32/AArch64 inline asm
constraints and clobbers.

`bazel test //ruy:allocator_test`:

```text
Before:
  [ RUN      ] AllocatorTest.MulSurvivesConsolidationOom
  *** SIGSEGV (@0x200) in ruy::PackFloatColMajorForNeon() (x8=200)
After:
  [       OK ] AllocatorTest.MulSurvivesConsolidationOom
```
PiperOrigin-RevId: 1020218307
@copybara-service
copybara-service Bot merged commit 0face1b into master Nov 12, 2026
2 of 3 checks passed
@copybara-service
copybara-service Bot deleted the test_1018935539 branch November 12, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants