mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
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.
This commit is contained in:
parent
be1ebb6710
commit
75b2f521b1
@ -166,6 +166,8 @@ md_parse_option (int c, const char *arg)
|
||||
{
|
||||
LARCH_opts.ase_ilp32 = 1;
|
||||
LARCH_opts.ase_lp64 = 1;
|
||||
LARCH_opts.ase_lsx = 1;
|
||||
LARCH_opts.ase_lasx = 1;
|
||||
LARCH_opts.ase_abi = lp64[suf[4]];
|
||||
}
|
||||
else if (strncasecmp (arg, "ilp32", 5) == 0 && ilp32[suf[5]] != 0)
|
||||
@ -241,6 +243,8 @@ loongarch_after_parse_args ()
|
||||
LARCH_opts.ase_abi = EF_LOONGARCH_ABI_DOUBLE_FLOAT;
|
||||
LARCH_opts.ase_ilp32 = 1;
|
||||
LARCH_opts.ase_lp64 = 1;
|
||||
LARCH_opts.ase_lsx = 1;
|
||||
LARCH_opts.ase_lasx = 1;
|
||||
}
|
||||
else if (strcmp (default_arch, "loongarch32") == 0)
|
||||
{
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user