Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microblaze: Fix -Os right shift optimization is allowed into delay slot #37

Open
wants to merge 1 commit into
base: zephyr-gcc-12.2.0
Choose a base branch
from

Commits on Oct 19, 2024

  1. microblaze: Fix -Os right shift optimization is allowed into delay slot

    During picolibc testing, it's found that `-Os` produces assembly code that
    compiler squeezes into a single delay slot. Thus, only the first
    instruction (the one in delay slot) emitted by this optimization is
    executed and the rest is skipped.
    
    Signed-off-by: Alp Sayin <[email protected]>
    alpsayin committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    815ae62 View commit details
    Browse the repository at this point in the history