Pushed to r14-6879 and modified this issue.
在 2023/12/19 下午8:37, Xi Ruoyao 写道:
On Tue, 2023-12-19 at 19:04 +0800, Lulu Cheng wrote:
+(define_insn "@add_tls_le_relax<mode>"
+ [(set (match_operand:P 0 "register_operand" "=r")
+ (unspec:P [(match_operand:P 1 "register_operand" "r")
+ (match_operand:P 2 "register_operand" "r")
+ (match_operand:P 3 "symbolic_operand")]
+ UNSPEC_ADD_TLS_LE_RELAX))]
+ ""
+ "add.<d>\t%0,%1,%2,%le_add_r(%3)"
We need a double "%", i. e. "%%le_add_r". Or we'll hit:
t.c:11:1: internal compiler error: output_operand: operand number
missing after %-letter
+ [(set_attr "type" "move")]
+)
+