Messages in this thread | | | Date | Thu, 19 Sep 2019 19:50:44 -0500 | From | Segher Boessenkool <> | Subject | Re: [PATCH v2 4/6] compiler-gcc.h: add asm_inline definition |
| |
On Thu, Sep 12, 2019 at 02:54:50PM -0700, Nick Desaulniers wrote: > I have seen instances where instruction selection fails to select the > appropriate way to branch when inline asm size is misjudged, resulting > in un-encodeable jumps (as in the branch target is too far to be > encoded in the number of bits of a single jump/branch instruction).
"asm inline" *only* influences the estimated size *for inlining purposes*. Not for anything else. Everything else still uses conservative estimates.
Segher
| |