2009-10-28 Paul Brook <paul@codesourcery.com>
gas/ * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes unconditionally.
This commit is contained in:
parent
c4dbc9afcc
commit
721a818646
@ -1,3 +1,8 @@
|
|||||||
|
2009-10-28 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes
|
||||||
|
unconditionally.
|
||||||
|
|
||||||
2009-10-28 Alan Modra <amodra@bigpond.net.au>
|
2009-10-28 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
PR gas/10856
|
PR gas/10856
|
||||||
|
@ -14955,14 +14955,11 @@ opcode_lookup (char **str)
|
|||||||
const struct asm_opcode *opcode;
|
const struct asm_opcode *opcode;
|
||||||
const struct asm_cond *cond;
|
const struct asm_cond *cond;
|
||||||
char save[2];
|
char save[2];
|
||||||
bfd_boolean neon_supported;
|
|
||||||
|
|
||||||
neon_supported = ARM_CPU_HAS_FEATURE (cpu_variant, fpu_neon_ext_v1);
|
|
||||||
|
|
||||||
/* Scan up to the end of the mnemonic, which must end in white space,
|
/* Scan up to the end of the mnemonic, which must end in white space,
|
||||||
'.' (in unified mode, or for Neon instructions), or end of string. */
|
'.' (in unified mode, or for Neon/VFP instructions), or end of string. */
|
||||||
for (base = end = *str; *end != '\0'; end++)
|
for (base = end = *str; *end != '\0'; end++)
|
||||||
if (*end == ' ' || ((unified_syntax || neon_supported) && *end == '.'))
|
if (*end == ' ' || *end == '.')
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (end == base)
|
if (end == base)
|
||||||
|
Loading…
Reference in New Issue
Block a user