https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107731
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2022-11-17 Keywords| |documentation Ever confirmed|0 |1 Summary|error: invalid 'asm': |loongarch Operand Modifiers |invalid use of '%c' |are not documented --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- %c does not mean anything in loongarch. The codes are not documented in the documentation for loonarch though but they currently only documented in loongarch.cc: 'A' Print a _DB suffix if the memory model requires a release. 'b' Print the address of a memory operand, without offset. 'C' Print the integer branch condition for comparison OP. 'd' Print CONST_INT OP in decimal. 'F' Print the FPU branch condition for comparison OP. 'G' Print a DBAR insn if the memory model requires a release. 'H' Print address 52-61bit relocation associated with OP. 'h' Print the high-part relocation associated with OP. 'i' Print i if the operand is not a register. 'L' Print the low-part relocation associated with OP. 'm' Print one less than CONST_INT OP in decimal. 'N' Print the inverse of the integer branch condition for comparison OP. 'r' Print address 12-31bit relocation associated with OP. 'R' Print address 32-51bit relocation associated with OP. 'T' Print 'f' for (eq:CC ...), 't' for (ne:CC ...), 'z' for (eq:?I ...), 'n' for (ne:?I ...). 't' Like 'T', but with the EQ/NE cases reversed 'V' Print exact log2 of CONST_INT OP element 0 of a replicated CONST_VECTOR in decimal. 'W' Print the inverse of the FPU branch condition for comparison OP. 'X' Print CONST_INT OP in hexadecimal format. 'x' Print the low 16 bits of CONST_INT OP in hexadecimal format. 'Y' Print loongarch_fp_conditions[INTVAL (OP)] 'y' Print exact log2 of CONST_INT OP in decimal. 'Z' Print OP and a comma for 8CC, otherwise print nothing. 'z' Print $0 if OP is zero, otherwise print OP normally. */