]> git.ipfire.org Git - thirdparty/glibc.git/commit - config.h.in
LoongArch: config: Added HAVE_LOONGARCH_VEC_ASM.
authorcaiyinyu <caiyinyu@loongson.cn>
Thu, 6 Jul 2023 08:30:52 +0000 (16:30 +0800)
committercaiyinyu <caiyinyu@loongson.cn>
Tue, 11 Jul 2023 02:56:01 +0000 (10:56 +0800)
commit0d341d09f27fdc48a0e65242f3701ba8ea980b37
treec89c6e11a2113b10a302c840b15f8b3d4bc9f7dc
parent19f9f7f9d5064ad6608e6d40a3aa1b3db8a4a1ae
LoongArch: config: Added HAVE_LOONGARCH_VEC_ASM.

This patch checks if assembler supports vector instructions to
generate LASX/LSX code or not, and then define HAVE_LOONGARCH_VEC_ASM macro

We have added support for vector instructions in binutils-2.41
See:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=75b2f521b101d974354f6ce9ed7c054d8b2e3b7a

commit 75b2f521b101d974354f6ce9ed7c054d8b2e3b7a
Author: mengqinggang <mengqinggang@loongson.cn>
Date:   Thu Jun 22 10:35:28 2023 +0800

LoongArch: gas: Add lsx and lasx instructions support

gas/ChangeLog:

        * config/tc-loongarch.c (md_parse_option): Add lsx and lasx option.
        (loongarch_after_parse_args): Add lsx and lasx option.

opcodes/ChangeLog:

        * loongarch-opc.c (struct loongarch_ase): Add lsx and lasx
        instructions.
config.h.in
sysdeps/loongarch/configure
sysdeps/loongarch/configure.ac