History

arm-asm: Add cdp2

Also allow instructions without condition code in the first place

Danny Milosavljevic committed 5 years ago

Commit a1dad7a1 parent 036a7fe3 files · +21 −6Browse files

Showing the changes to tests (1 of 3 files). Show all

Unified · Split

tests/arm-asm-testsuite.sh+2−1
@@ -5,7 +5,7 @@ set -e · 4 unmodified lines
55 # Note: "{r3}" is definitely different--but would complicate the assembler.
66
77 state="`mktemp -d`"
8−cat ../arm-tok.h |grep DEF_ASM_CONDED |grep -v '#define' |grep -v '/[*]' |sed -e 's;DEF_ASM_CONDED.\(.*\).$;\1;'| grep -v 'not useful' | while read s
8+cat ../arm-tok.h |grep DEF_ASM |grep -v 'not useful' |grep -v '#define' |grep -v '/[*]' |sed -e 's;^[ ]*DEF_ASM[^(]*(\(.*\)).*$;\1;' | egrep -v '^((r|c|p)[0-9]+|fp|ip|sp|lr|pc|asl)$' | while read s
99 do
1010 ok=0
1111 for args in "r3, r4, r5, r6" \
@@ -90,6 +90,7 @@ do · 78 unmodified lines
9090 "r4, #0xFFFFFF00" \
9191 "r2, #-4" \
9292 "p10, #7, c2, c0, c1, #4" \
93+ "p10, #7, r2, c0, c1, #4" \
9394 "#4" \
9495 "#-4" \
9596 ""

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t