armv5 fixed
This commit is contained in:
parent
a22692f80d
commit
0c800aecf2
@ -56,7 +56,7 @@ exec 'syn match armv4SWP "SWP' . armCond . 'B\?\>"'
|
||||
"
|
||||
" ARMv5 instructions
|
||||
"
|
||||
syn match armv5InstrCond
|
||||
|
||||
exec 'syn match armv5InstrCond "\%(BLX\|CLZ\|MCRR\|MRRC\|QADD\|QSUB\|QDADD\|QDSUB\)' . armCond . '\>"'
|
||||
HiLink armv4InstrCond armv5InstrCond
|
||||
|
||||
@ -70,5 +70,15 @@ exec 'syn match armv5STR "\%(STR\)' . armCond . 'D\>"'
|
||||
HiLink armv4LDR armv5LDR
|
||||
HiLink armv4STR armv5STR
|
||||
|
||||
"
|
||||
" ARMv6 instructions
|
||||
"
|
||||
|
||||
|
||||
"
|
||||
" VFP/NEON
|
||||
"
|
||||
|
||||
|
||||
"syn match armRelative "@R[0-7]\|@a\s*+\s*dptr\|@[ab]"
|
||||
|
||||
|
8
test/armv5-test.s
Normal file
8
test/armv5-test.s
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
add
|
||||
smull r0, r1,R2
|
||||
smlalBt r1,r15
|
||||
SMLawTb V8, v3
|
||||
SMLALtb A1, a4
|
||||
|
||||
@ vim:ft=armv5
|
Loading…
Reference in New Issue
Block a user