Landing: 0902241fd65e

Project / Subsystem

gcc / gcc/cris

Date

2026-08-27

Author

Hans-Peter Nilsson

Commit

0902241fd65e56726f846ca08446faa4210302ad

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/cris
patch_id
—
commit_hash
0902241fd65e56726f846ca08446faa4210302ad
source_type
github
headline
CRIS: Add patterns for bit-field tests feeding conditional stores
tldr
New CRIS patterns improve handling of bit-field tests for conditional stores.
author
Hans-Peter Nilsson
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cris
  • • optimization
  • • architecture
discussion_id_link
—
bugzilla_pr
—
date
2026-08-27T00:00:00.000Z

This commit adds new patterns to the CRIS backend for handling bit-field tests that feed conditional store instructions. Spotted during work on another bug fix (PR126276), these patterns improve the compiler’s ability to generate efficient code for specific bit manipulation scenarios on the CRIS architecture. The single-bit case is noted as being left for later.