projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ppc/svp64: introduce SVP64 name parser
[binutils-gdb.git]
/
gas
/
config
/
tc-ppc.c
diff --git
a/gas/config/tc-ppc.c
b/gas/config/tc-ppc.c
index 585128d8235398116ff25d936d39cac52133eba7..f3d3f04054d3d56a78839a945464ec650dae2a8d 100644
(file)
--- a/
gas/config/tc-ppc.c
+++ b/
gas/config/tc-ppc.c
@@
-52,6
+52,9
@@
ppc_parse_name_common (const char *name,
expressionS *exp, enum expr_mode mode,
const struct powerpc_pd_reg *regs, size_t num);
expressionS *exp, enum expr_mode mode,
const struct powerpc_pd_reg *regs, size_t num);
+static void
+ppc_parse_name_default (const char *name, expressionS *exp, enum expr_mode mode);
+
#include "tc-ppc-svp64.c"
/* This is the assembler for the PowerPC or POWER (RS/6000) chips. */
#include "tc-ppc-svp64.c"
/* This is the assembler for the PowerPC or POWER (RS/6000) chips. */
@@
-1927,8
+1930,8
@@
md_begin (void)
ppc_dwarf2_line_min_insn_length = (ppc_cpu & PPC_OPCODE_VLE) ? 2 : 4;
if (ppc_cpu & PPC_OPCODE_SVP64)
{
ppc_dwarf2_line_min_insn_length = (ppc_cpu & PPC_OPCODE_VLE) ? 2 : 4;
if (ppc_cpu & PPC_OPCODE_SVP64)
{
- ppc_parse_name = svp64_parse_name;
ppc_operand = svp64_operand;
ppc_operand = svp64_operand;
+ ppc_parse_name = svp64_parse_name;
}
#ifdef OBJ_ELF
}
#ifdef OBJ_ELF