Unneeded push in sync primitives
Bug #681138 reported by
Michael Hope
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
Low
|
Ken Werner |
Bug Description
See:
http://
https:/
Peter points out that the current sync primitves have an extra push/pop that could be removed.
Related branches
lp:~kwerner/gcc-linaro/lp-681138-4.5
- Linaro Toolchain Developers: Pending requested
-
Diff: 165 lines (+68/-12)3 files modifiedChangeLog.linaro (+12/-0)
gcc/config/arm/arm.c (+40/-4)
gcc/config/arm/sync.md (+16/-8)
Changed in gcc-linaro: | |
status: | New → In Progress |
Changed in gcc-linaro: | |
status: | In Progress → New |
Changed in gcc-linaro: | |
assignee: | nobody → Ken Werner (kwerner) |
status: | New → In Progress |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This patch is my first try to optimize the sequence emitted by GCC. The idea is to save one register in case the operation is reversible as suggested by Peter Maydell: lists.linaro. org/pipermail/ linaro- toolchain/ 2010-November/ 000498. html
http://