This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patches] Re: [PATCH] RISC-V: Reject empty rouding mode and fence operand.


Hi Jim:

Oh, my mistake..., patch attached.




gas/ChangeLog

2018-08-21  Kito Cheng  <kito@andestech.com>

        * config/tc-riscv.c (arg_lookup): Checking
        length before look up.
        * testsuite/gas/riscv/fence-fail.d: New file.
        * testsuite/gas/riscv/fence-fail.l: Likewise.
        * testsuite/gas/riscv/fence-fail.s: Likewise.
        * testsuite/gas/riscv/rouding-fail.d: Likewise.
        * testsuite/gas/riscv/rouding-fail.l: Likewise.
        * testsuite/gas/riscv/rouding-fail.s: Likewise.
On Wed, Aug 22, 2018 at 1:59 AM Jim Wilson <jimw@sifive.com> wrote:
>
> On Tue, Aug 21, 2018 at 8:53 AM, Kito Cheng <kito.cheng@gmail.com> wrote:
> > Current assembler will accept empty operand for fence and rounding
> > mode, such as "fence ," or "fadd.s fa1,fa1,fa1,", it cause by strncmp
> > with zero length in arg_lookup function.
>
> There is a ChangeLog entry but no patch.
>
> There is a typo in the ChangeLog entry
> lenght -> length
>
> Jim
>
> --
> You received this message because you are subscribed to the Google Groups "RISC-V Patches" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to patches+unsubscribe@groups.riscv.org.
> To post to this group, send email to patches@groups.riscv.org.
> Visit this group at https://groups.google.com/a/groups.riscv.org/group/patches/.
> To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/patches/CAFyWVabKZpw6g4P8Dq_1MMKCLv1yemTsNH6hQ%3DFbKndKL0omkg%40mail.gmail.com.
> For more options, visit https://groups.google.com/a/groups.riscv.org/d/optout.

Attachment: 0001-RISC-V-Reject-empty-rouding-mode-and-fence-operand.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]