Update directives

This commit is contained in:
ARM9 2015-07-21 16:45:29 +02:00
parent c5bc0c15de
commit 600ee53239
3 changed files with 173 additions and 167 deletions

View File

@ -1,22 +1,24 @@
syn match armDirective "\.arch_extension" syn keyword armDirective .arch_extension
syn match armDirective "\.arm" syn keyword armDirective .arm
syn match armDirective "\.code" syn keyword armDirective .code
syn match armDirective "\.dn" syn keyword armDirective .dn
syn match armDirective "\.eabi_attribute" syn keyword armDirective .eabi_attribute
syn match armDirective "\.even" syn keyword armDirective .even
syn match armDirective "\.extend" syn keyword armDirective .extend
syn match armDirective "\.force_thumb" syn keyword armDirective .force_thumb
syn match armDirective "\.ldouble" syn keyword armDirective .ldouble
syn match armDirective "\.ltorg" syn keyword armDirective .ltorg
syn match armDirective "\.movsp" syn keyword armDirective .movsp
syn match armDirective "\.object_arch" syn keyword armDirective .object_arch
syn match armDirective "\.personality\%(index\)\?" syn keyword armDirective .personality
syn match armDirective "\.pool" syn keyword armDirective .personalityindex
syn match armDirective "\.qn" syn keyword armDirective .pool
syn match armDirective "\.setfp" syn keyword armDirective .qn
syn match armDirective "\.secrel32" syn keyword armDirective .setfp
syn match armDirective "\.syntax" syn keyword armDirective .secrel32
syn match armDirective "\.thumb\%(_func\|_set\)\?" syn keyword armDirective .syntax
syn match armDirective "\.tlsdescseq" syn keyword armDirective .thumb_func
syn match armDirective "\.vsave" syn keyword armDirective .thumb_set
syn keyword armDirective .tlsdescseq
syn keyword armDirective .vsave

View File

@ -1,147 +1,148 @@
syn match gasDirective "\.2byte" syn keyword gasDirective .2byte
syn match gasDirective "\.4byte" syn keyword gasDirective .4byte
syn match gasDirective "\.8byte" syn keyword gasDirective .8byte
syn match gasDirective "\.aent" syn keyword gasDirective .aent
syn match gasDirective "\.abort" syn keyword gasDirective .abort
syn match gasDirective "\.align" syn keyword gasDirective .align
syn match gasDirective "\.altmacro" syn keyword gasDirective .altmacro
syn match gasDirective "\.arch" syn keyword gasDirective .arch
syn match gasDirective "\.ascii" syn keyword gasDirective .ascii
syn match gasDirective "\.asciz" syn keyword gasDirective .asciz
syn match gasDirective "\.balign[wl]\?" syn match gasDirective "\.balign[wl]\?"
syn match gasDirective "\.bss" syn keyword gasDirective .bss
syn match gasDirective "\.bundle_align" syn keyword gasDirective .bundle_align
syn match gasDirective "\.bundle_lock" syn keyword gasDirective .bundle_lock
syn match gasDirective "\.bundle_unlock" syn keyword gasDirective .bundle_unlock
syn match gasDirective "\.byte" syn keyword gasDirective .byte
syn match gasDirective "\.cantunwind" syn keyword gasDirective .cantunwind
syn match gasDirective "\.cfi_\%(sections\|startproc\|endproc\|personality\|lsda\|def_cfa\|def_cfa_register\|def_cfa_offset\|adjust_cfa_offset\|offset\|rel_offset\|register\|restore\|undefined\|same_value\|remember_state\|return_column\|signal_frame\|window_save\|escape\|val_encoded_addr\)" syn match gasDirective "\.cfi_\%(sections\|startproc\|endproc\|personality\|lsda\|def_cfa\|def_cfa_register\|def_cfa_offset\|adjust_cfa_offset\|offset\|rel_offset\|register\|restore\|undefined\|same_value\|remember_state\|return_column\|signal_frame\|window_save\|escape\|val_encoded_addr\)"
syn match gasDirective "\.comm" syn keyword gasDirective .comm
syn match gasDirective "\.cpadd" syn keyword gasDirective .cpadd
syn match gasDirective "\.cpload" syn keyword gasDirective .cpload
syn match gasDirective "\.cplocal" syn keyword gasDirective .cplocal
syn match gasDirective "\.cprestore" syn keyword gasDirective .cprestore
syn match gasDirective "\.cpreturn" syn keyword gasDirective .cpreturn
syn match gasDirective "\.cpsetup" syn keyword gasDirective .cpsetup
syn match gasDirective "\.cpu" syn keyword gasDirective .cpu
syn match gasDirective "\.data" syn keyword gasDirective .data
syn match gasDirective "\.def" syn keyword gasDirective .def
syn match gasDirective "\.desc" syn keyword gasDirective .desc
syn match gasDirective "\.dim" syn keyword gasDirective .dim
syn match gasDirective "\.double" syn keyword gasDirective .double
syn match gasDirective "\.dword" syn keyword gasDirective .dword
syn match gasDirective "\.dynsym" syn keyword gasDirective .dynsym
syn match gasDirective "\.eject" syn keyword gasDirective .eject
syn match gasDirective "\.else" syn keyword gasDirective .else
syn match gasDirective "\.elseif" syn keyword gasDirective .elseif
syn match gasDirective "\.end" syn keyword gasDirective .end
syn match gasDirective "\.endef" syn keyword gasDirective .endef
syn match gasDirective "\.endfunc" syn keyword gasDirective .endfunc
syn match gasDirective "\.endif" syn keyword gasDirective .endif
syn match gasDirective "\.endm" syn keyword gasDirective .endm
syn match gasDirective "\.endr" syn keyword gasDirective .endr
syn match gasDirective "\.equ" syn keyword gasDirective .equ
syn match gasDirective "\.equiv" syn keyword gasDirective .equiv
syn match gasDirective "\.eqv" syn keyword gasDirective .eqv
syn match gasDirective "\.err" syn keyword gasDirective .err
syn match gasDirective "\.error" syn keyword gasDirective .error
syn match gasDirective "\.exitm" syn keyword gasDirective .exitm
syn match gasDirective "\.extern" syn keyword gasDirective .extern
syn match gasDirective "\.fail" syn keyword gasDirective .fail
syn match gasDirective "\.file" syn keyword gasDirective .file
syn match gasDirective "\.fill" syn keyword gasDirective .fill
syn match gasDirective "\.float" syn keyword gasDirective .float
syn match gasDirective "\.fmask" syn keyword gasDirective .fmask
syn match gasDirective "\.fnend" syn keyword gasDirective .fnend
syn match gasDirective "\.fnstart" syn keyword gasDirective .fnstart
syn match gasDirective "\.fpu" syn keyword gasDirective .fpu
syn match gasDirective "\.frame" syn keyword gasDirective .frame
syn match gasDirective "\.func" syn keyword gasDirective .func
syn match gasDirective "\.global" syn keyword gasDirective .global
syn match gasDirective "\.globl" syn keyword gasDirective .globl
syn match gasDirective "\.gpvalue" syn keyword gasDirective .gpvalue
syn match gasDirective "\.gpword" syn keyword gasDirective .gpword
syn match gasDirective "\.gnu_attribute" syn keyword gasDirective .gnu_attribute
syn match gasDirective "\.handlerdata" syn keyword gasDirective .handlerdata
syn match gasDirective "\.hidden" syn keyword gasDirective .hidden
syn match gasDirective "\.hword" syn keyword gasDirective .hword
syn match gasDirective "\.ident" syn keyword gasDirective .ident
syn match gasDirective "\.if" syn match gasDirective "\.if\%(def\|b\|c\|eq\|eqs\|ge\|gt\|le\|lt\|nb\|nc\|ndef\|notdef\|ne\|nes\)"
syn match gasDirective "\.incbin" syn keyword gasDirective .incbin
syn match gasDirective "\.include" syn keyword gasDirective .include
syn match gasDirective "\.inst\%(\.[nw]\)\?" syn match gasDirective "\.inst\%(\.[nw]\)\?"
syn match gasDirective "\.int" syn keyword gasDirective .int
syn match gasDirective "\.internal" syn keyword gasDirective .internal
syn match gasDirective "\.irp[c]" syn keyword gasDirective .irp
syn match gasDirective "\.kdata" syn keyword gasDirective .irpc
syn match gasDirective "\.ktext" syn keyword gasDirective .kdata
syn match gasDirective "\.lab" syn keyword gasDirective .ktext
syn match gasDirective "\.lcomm" syn keyword gasDirective .lab
syn match gasDirective "\.lflags" syn keyword gasDirective .lcomm
syn match gasDirective "\.line" syn keyword gasDirective .lflags
syn match gasDirective "\.linkonce" syn keyword gasDirective .line
syn match gasDirective "\.list" syn keyword gasDirective .linkonce
syn match gasDirective "\.ln" syn keyword gasDirective .list
syn match gasDirective "\.loc" syn keyword gasDirective .ln
syn match gasDirective "\.loc_mark_labels" syn keyword gasDirective .loc
syn match gasDirective "\.local" syn keyword gasDirective .loc_mark_labels
syn match gasDirective "\.long" syn keyword gasDirective .local
syn match gasDirective "\.macro" syn keyword gasDirective .long
syn match gasDirective "\.mask" syn keyword gasDirective .macro
syn match gasDirective "\.mri" syn keyword gasDirective .mask
syn match gasDirective "\.noaltmacro" syn keyword gasDirective .mri
syn match gasDirective "\.nolist" syn keyword gasDirective .noaltmacro
syn match gasDirective "\.nop" syn keyword gasDirective .nolist
syn match gasDirective "\.octa" syn keyword gasDirective .nop
syn match gasDirective "\.option" syn keyword gasDirective .octa
syn match gasDirective "\.org" syn keyword gasDirective .option
syn keyword gasDirective .org
syn match gasDirective "\.p2align[wl]\?" syn match gasDirective "\.p2align[wl]\?"
syn match gasDirective "\.pad" syn keyword gasDirective .pad
syn match gasDirective "\.popsection" syn keyword gasDirective .popsection
syn match gasDirective "\.previous" syn keyword gasDirective .previous
syn match gasDirective "\.print" syn keyword gasDirective .print
syn match gasDirective "\.protected" syn keyword gasDirective .protected
syn match gasDirective "\.psize" syn keyword gasDirective .psize
syn match gasDirective "\.purgem" syn keyword gasDirective .purgem
syn match gasDirective "\.pushsection" syn keyword gasDirective .pushsection
syn match gasDirective "\.quad" syn keyword gasDirective .quad
syn match gasDirective "\.rdata" syn keyword gasDirective .rdata
syn match gasDirective "\.reloc" syn keyword gasDirective .reloc
syn match gasDirective "\.rept" syn keyword gasDirective .rept
syn match gasDirective "\.repeat" syn keyword gasDirective .repeat
syn match gasDirective "\.req" syn keyword gasDirective .req
syn match gasDirective "\.save" syn keyword gasDirective .save
syn match gasDirective "\.sbttl" syn keyword gasDirective .sbttl
syn match gasDirective "\.scl" syn keyword gasDirective .scl
syn match gasDirective "\.sdata" syn keyword gasDirective .sdata
syn match gasDirective "\.section" syn keyword gasDirective .section
syn match gasDirective "\.set" syn keyword gasDirective .set
syn match gasDirective "\.short" syn keyword gasDirective .short
syn match gasDirective "\.single" syn keyword gasDirective .single
syn match gasDirective "\.size" syn keyword gasDirective .size
syn match gasDirective "\.skip" syn keyword gasDirective .skip
syn match gasDirective "\.sleb128" syn keyword gasDirective .sleb128
syn match gasDirective "\.space" syn keyword gasDirective .space
syn match gasDirective "\.stab[dns]" syn match gasDirective "\.stab[dns]"
syn match gasDirective "\.string" syn keyword gasDirective .string
syn match gasDirective "\.struct" syn keyword gasDirective .struct
syn match gasDirective "\.subsection" syn keyword gasDirective .subsection
syn match gasDirective "\.symver" syn keyword gasDirective .symver
syn match gasDirective "\.tag" syn keyword gasDirective .tag
syn match gasDirective "\.text" syn keyword gasDirective .text
syn match gasDirective "\.title" syn keyword gasDirective .title
syn match gasDirective "\.type" syn keyword gasDirective .type
syn match gasDirective "\.uleb128" syn keyword gasDirective .uleb128
syn match gasDirective "\.unreq" syn keyword gasDirective .unreq
syn match gasDirective "\.unwind_raw" syn keyword gasDirective .unwind_raw
syn match gasDirective "\.val" syn keyword gasDirective .val
syn match gasDirective "\.version" syn keyword gasDirective .version
syn match gasDirective "\.verstamp" syn keyword gasDirective .verstamp
syn match gasDirective "\.vtable_entry" syn keyword gasDirective .vtable_entry
syn match gasDirective "\.vtable_inherit" syn keyword gasDirective .vtable_inherit
syn match gasDirective "\.warning" syn keyword gasDirective .warning
syn match gasDirective "\.weak" syn keyword gasDirective .weak
syn match gasDirective "\.weakext" syn keyword gasDirective .weakext
syn match gasDirective "\.weakref" syn keyword gasDirective .weakref
syn match gasDirective "\.word" syn keyword gasDirective .word

View File

@ -34,6 +34,9 @@ fdivs
vdiv vdiv
vsqrt vsqrt
vadd.i8 d12, d16, d31
vmull.s32 q2, d5, D6
.float .01, 3.14159 .float .01, 3.14159
@ illegal @ illegal