https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105576
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Isn't the i constraint the one you want to be portable: > > āiā > An immediate integer operand (one with constant value) is allowed. This > includes symbolic constants whose values will be known only at assembly time > or later. This is from https://gcc.gnu.org/onlinedocs/gcc/Simple-Constraints.html#Simple-Constraints