public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: Lulu Cheng <chenglulu@loongson.cn>, gcc-patches@gcc.gnu.org
Cc: i@xen0n.name, xuchenghua@loongson.cn
Subject: Re: [PATCH] LoongArch: Added TLS Le Relax support.
Date: Tue, 19 Dec 2023 20:37:14 +0800	[thread overview]
Message-ID: <b9cc35db773f2b2bd07cc14739e83d661dd62296.camel@xry111.site> (raw)
In-Reply-To: <20231219110449.30805-1-chenglulu@loongson.cn>

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")]
> +)
> +

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

  reply	other threads:[~2023-12-19 12:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-19 11:04 Lulu Cheng
2023-12-19 12:37 ` Xi Ruoyao [this message]
2023-12-19 12:58   ` chenglulu
2024-01-02  1:36   ` [pushed][PATCH] " chenglulu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9cc35db773f2b2bd07cc14739e83d661dd62296.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=chenglulu@loongson.cn \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=i@xen0n.name \
    --cc=xuchenghua@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).