From c86e481e4af49418950aedbca731e825e90fc299 Mon Sep 17 00:00:00 2001 From: ARM9 Date: Tue, 7 Apr 2015 16:02:14 +0200 Subject: [PATCH] That should cover vfp --- syntax/include/armv6_base_syntax.vim | 4 ++-- test/armv7-test.s | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/syntax/include/armv6_base_syntax.vim b/syntax/include/armv6_base_syntax.vim index decd0ed..f6c1bbf 100644 --- a/syntax/include/armv6_base_syntax.vim +++ b/syntax/include/armv6_base_syntax.vim @@ -36,9 +36,9 @@ exec 'syn match armv7Instr "\%(DBG\|DMB\|DSB\|ISB\|SEV\|WFE\|WFI\|YIELD\)' . arm " VFP/NEON " -exec 'syn match armVfpInstr "\%(FMUL\|FNMUL\|FMAC\|FNMAC\|FMSC\|FNMSC\|FADD\|FSUB\|FDIV\|FCPY\|FABS\|FNEG\|FSQRT\|FCMPE\?\|FCMPE\?Z\|FCVTD\|FCVTS\|FUITO\|FSITO\|FTOUI\|FTOSI\|FST\|FLD\|\)[SD]' . armCond . '\>"' +exec 'syn match armVfpInstr "\%(FMUL\|FNMUL\|FMAC\|FNMAC\|FMSC\|FNMSC\|FADD\|FSUB\|FDIV\|FCPY\|FABS\|FNEG\|FSQRT\|FCMPE\?\|FCMPE\?Z\|FCVTD\|FCVTS\|FUITO\|FSITO\|FTOUI\|FTOSI\|FST\|FLD\|FTO\%(SH\|SL\|UH\|UL\)\|F\%(SH\|SL\|UH\|UL\)TO\)[SD]' . armCond . '\>"' -exec 'syn match armVfpInstr "\%(FMSR\|FMDLR\|FMRDL\|FMDHR\|FMRDH\|FMXR\|FMRX\|FMSTAT\)' . armCond . '\>"' +exec 'syn match armVfpInstr "\%(FMSR\|FMDLR\|FMRDL\|FMDHR\|FMRDH\|FMXR\|FMRX\|FMSTAT\|FCONST\)' . armCond . '\>"' exec 'syn match armVfpInstr "\%(FSTMIA\|FSTMDB\|FLDMIA\|FLDMDB\)[SDX]' . armCond . '\>"' diff --git a/test/armv7-test.s b/test/armv7-test.s index 3919306..73f32dd 100644 --- a/test/armv7-test.s +++ b/test/armv7-test.s @@ -6,4 +6,5 @@ eor r4,r5 mla r5,R6 mov R6,R7 -@ vim:ft=armv7 +FSHTOS +@ vim:ft=arm