From eb5eb49943a2ecc6324c98f015e48fca66f9b557 Mon Sep 17 00:00:00 2001 From: ARM9 Date: Wed, 1 Apr 2015 18:20:14 +0200 Subject: [PATCH] added neon instructions --- syntax/arm.vim | 1 + syntax/include/armv6_base_syntax.vim | 1 + 2 files changed, 2 insertions(+) diff --git a/syntax/arm.vim b/syntax/arm.vim index e94ff43..a175ccb 100644 --- a/syntax/arm.vim +++ b/syntax/arm.vim @@ -38,6 +38,7 @@ if version >= 508 || !exists("did_armv6_syntax_inits") HiLink armv7Instr armv6Instructions HiLink armVfpInstr armv6Instructions + HiLink armNeonInstr armv6Instructions HiLink armNumericOp armOperator HiLink armRelative armOperator diff --git a/syntax/include/armv6_base_syntax.vim b/syntax/include/armv6_base_syntax.vim index ee93b9f..2725c7c 100644 --- a/syntax/include/armv6_base_syntax.vim +++ b/syntax/include/armv6_base_syntax.vim @@ -37,4 +37,5 @@ exec 'syn match armv7Instr "\%(DBG\|DMB\|DSB\|ISB\|SEV\|WFE\|WFI\|YIELD\)' . arm " exec 'syn match armVfpInstr "\%(VMUL\|VNMUL\|VMLA\|VMLS\|VNMLS\|VNMLA\|VADD\|VSUB\|VDIV\|VABS\|VNEG\|VSQRT\|VCMPE\?\|VCVT[TB]\?\|VMOV\|VMSR\|VMRS\|VSTR\|VSTM\%(DB\|IA\|EA\|FD\)\?\|VPUSH\|VLDR\|VLDM\%(DB\|IA\|EA\|FD\)\?\|VPOP\)' . armCond . '\>"' +exec 'syn match armNeonInstr "\%(VABA\|VABD\|VABS\|VACGE\|VACGT\|VACLE\|VACLT\|VADD\|VADDHN\|VAND\|VBIC\|VBIF\|VBIT\|VBSL\|VCEQ\|VCLE\|VCLT\|VCGE\|VCGT\|VCLE\|VCLT\|VCLS\|VCLZ\|VCNT\|VCVT\|VDUP\|VERO\|VEXT\|VHADD\|VHSUB\|VLD\|VMAX\|VMIN\|VMLA\|VMLS\|VMOV\|VMOVL\|VMVN\|VQMOVN\|VQMOVUN\|VMUL\|VMLA\|VM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