public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: mengqinggang <mengqinggang@loongson.cn>
To: WANG Xuerui <i.swmail@xen0n.name>, binutils@sourceware.org
Cc: xuchenghua@loongson.cn, chenglulu@loongson.cn,
	liuzhensong@loongson.cn, cailulu@loongson.cn, xry111@xry111.site,
	maskray@google.com
Subject: Re: [PATCH] LoongArch: Add support for b ".L1" and beq "$t0", "$t1", ".L1"
Date: Wed, 6 Dec 2023 14:07:37 +0800	[thread overview]
Message-ID: <e09754f9-4b63-60f7-9ee6-9c026ea7b2a0@loongson.cn> (raw)
In-Reply-To: <bf52ffa8-4a64-4d5a-85c1-0c2be665a993@xen0n.name>

This is a question discovered during the porting of RSEQ system call, 
and other architectures support this feature.


在 2023/12/6 上午11:28, WANG Xuerui 写道:
> Hi,
>
> On 12/6/23 11:17, mengqinggang wrote:
>> Support register and symbol names enclosed in double quotation marks.
>> ---
>>   .../gas/loongarch/double_quotation_marks.d    | 11 +++++
>>   .../gas/loongarch/double_quotation_marks.s    |  2 +
>>   opcodes/loongarch-coder.c                     | 41 ++++++++++++++++---
>>   3 files changed, 48 insertions(+), 6 deletions(-)
>>   create mode 100644 
>> gas/testsuite/gas/loongarch/double_quotation_marks.d
>>   create mode 100644 
>> gas/testsuite/gas/loongarch/double_quotation_marks.s
>>
>> [snip]
>>
>> diff --git a/gas/testsuite/gas/loongarch/double_quotation_marks.s 
>> b/gas/testsuite/gas/loongarch/double_quotation_marks.s
>> new file mode 100644
>> index 00000000000..bb8acb99a40
>> --- /dev/null
>> +++ b/gas/testsuite/gas/loongarch/double_quotation_marks.s
>> @@ -0,0 +1,2 @@
>> +# Before only support beq $t0, $t1, .L1
>> +beq "$t0", "$t1", ".L1"
> May you provide some explanation as to this feature's intended use 
> case? Because it seems pointless otherwise without some kind of 
> scenario that's both valuable to support and impossible to do so 
> without this feature...


  parent reply	other threads:[~2023-12-06  6:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-06  3:17 mengqinggang
2023-12-06  3:28 ` WANG Xuerui
2023-12-06  3:45   ` Fangrui Song
     [not found]   ` <DS7PR12MB5765C29D265229889294CBF6CB84A@DS7PR12MB5765.namprd12.prod.outlook.com>
2023-12-06  4:55     ` Xi Ruoyao
2023-12-06  6:14       ` Fangrui Song
     [not found]       ` <MN0PR12MB5761C1CE97F155CFA535A33CCB84A@MN0PR12MB5761.namprd12.prod.outlook.com>
2023-12-06  6:35         ` Xi Ruoyao
2023-12-06  6:07   ` mengqinggang [this message]
2023-12-06  6:16     ` Xi Ruoyao
2023-12-06  6:22       ` Xi Ruoyao
2023-12-06  6:27         ` mengqinggang

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=e09754f9-4b63-60f7-9ee6-9c026ea7b2a0@loongson.cn \
    --to=mengqinggang@loongson.cn \
    --cc=binutils@sourceware.org \
    --cc=cailulu@loongson.cn \
    --cc=chenglulu@loongson.cn \
    --cc=i.swmail@xen0n.name \
    --cc=liuzhensong@loongson.cn \
    --cc=maskray@google.com \
    --cc=xry111@xry111.site \
    --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).