From 721a8186463bd0613adde0a0cfc46bb3c5d7bfdb Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Wed, 28 Oct 2009 16:50:44 +0000 Subject: [PATCH] 2009-10-28 Paul Brook gas/ * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes unconditionally. --- gas/ChangeLog | 5 +++++ gas/config/tc-arm.c | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 6e216b1..9a54405 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-10-28 Paul Brook + + * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes + unconditionally. + 2009-10-28 Alan Modra PR gas/10856 diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 2c70923..22a3377 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -14955,14 +14955,11 @@ opcode_lookup (char **str) const struct asm_opcode *opcode; const struct asm_cond *cond; 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, - '.' (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++) - if (*end == ' ' || ((unified_syntax || neon_supported) && *end == '.')) + if (*end == ' ' || *end == '.') break; if (end == base) -- 2.7.4