Skip to content

Commit

Permalink
microblaze: Fix -Os right shift optimization is allowed into delay slot
Browse files Browse the repository at this point in the history
In picolibc testing it's found that this produces code that compiler
squeezes into a single delay slot. And thus only the first instruction
emitted by this optimization is run and the rest is skipped.

Signed-off-by: Alp Sayin <[email protected]>
  • Loading branch information
alpsayin committed Oct 18, 2024
1 parent 214f390 commit 645ae98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc

0 comments on commit 645ae98

Please sign in to comment.