aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2024-06-16 12:22:40 +0800
committerXi Ruoyao <xry111@xry111.site>2024-06-27 14:47:57 +0800
commit2280e88ab05ebab994b7db588d577b29f1b12b87 (patch)
tree5d1d8b367d5f65d990cf8332b5e838f00e8876af /gcc
parent94aade062a4ab689abc4c3422c1b901ab0733c19 (diff)
downloadgcc-2280e88ab05ebab994b7db588d577b29f1b12b87.zip
gcc-2280e88ab05ebab994b7db588d577b29f1b12b87.tar.gz
gcc-2280e88ab05ebab994b7db588d577b29f1b12b87.tar.bz2
LoongArch: NFC: Dedup and sort the comment in loongarch_print_operand_reloc
gcc/ChangeLog: * config/loongarch/loongarch.cc (loongarch_print_operand_reloc): Dedup and sort the comment describing modifiers.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/loongarch/loongarch.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/config/loongarch/loongarch.cc b/gcc/config/loongarch/loongarch.cc
index 5119d87..0fb547e 100644
--- a/gcc/config/loongarch/loongarch.cc
+++ b/gcc/config/loongarch/loongarch.cc
@@ -6132,21 +6132,13 @@ loongarch_print_operand_reloc (FILE *file, rtx op, bool hi64_part,
'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
- 'F' Print the FPU branch condition for comparison OP.
- 'W' Print the inverse of the FPU branch condition for comparison OP.
- 'w' Print a LSX register.
'u' Print a LASX register.
- '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
- 'Y' Print loongarch_fp_conditions[INTVAL (OP)]
- 'Z' Print OP and a comma for 8CC, otherwise print nothing.
- 'z' Print $0 if OP is zero, otherwise print OP normally.
'v' Print the insn size suffix b, h, w or d for vector modes V16QI, V8HI,
V4SI, V2SI, and w, d for vector modes V4SF, V2DF respectively.
'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.
+ 'w' Print a LSX register.
'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)]