Post-increment constraint in inline assembly (SuperH)
Sun Jan 28 14:25:00 GMT 2018
On 01/28/2018 02:41 PM, Oleg Endo wrote:
> As far as I know, this won't work properly. Â Auto-mod addressing modes
> can't be expressed with inline assembly sufficiently. Â The compiler
> will not understand it.
Thanks. I could write my function in assembler, but it's a critical one.
I'd like to see it optimized.
I thought of forcefully placing my source pointer in a certain register
and issuing an instruction with a hardcoded source operand; this will
probably be my "fallback method".
> The only sane thing to do is fixing the compiler. Â The other option is
> to cripple all your code and insert movua macros/functions all over the
Would link-time optimization be able to inline a "movua function" for
More information about the Gcc-help