[Bug inline-asm/67944] GCC emits unnecessary push/pop for callee-save reads.

2019-04-19 Thread alex.reinking at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67944 Alex Reinking changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug inline-asm/67944] GCC emits unnecessary push/pop for callee-save reads.

2015-10-13 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67944 --- Comment #3 from Segher Boessenkool --- Your expectation is not in line with what the compiler actually promises you: the only guarantee is that the local register variable will be in (in your case) ebx _where used in an asm statement_. Other

[Bug inline-asm/67944] GCC emits unnecessary push/pop for callee-save reads.

2015-10-12 Thread alex.reinking at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67944 --- Comment #2 from Alex Reinking --- I expect it to return whatever is currently stored in ebx. Which it does, but suboptimally. In my particular case, ebx is populated by a system call. I wanted to put the inline assembly for retrieving that va

[Bug inline-asm/67944] GCC emits unnecessary push/pop for callee-save reads.

2015-10-12 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67944 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme