Commit 4f30e26
committed
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.
This is a regression introduced by applying Microblaze gcc patches.
Signed-off-by: Alp Sayin <alpsayin@gmail.com>1 parent 2836263 commit 4f30e26
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2286 | 2286 | | |
2287 | 2287 | | |
2288 | 2288 | | |
2289 | | - | |
| 2289 | + | |
2290 | 2290 | | |
2291 | 2291 | | |
2292 | 2292 | | |
| |||
0 commit comments