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
5# Note: "{r3}" is definitely different--but would complicate the assembler.5# Note: "{r3}" is definitely different--but would complicate the assembler.
6 6
7state="`mktemp -d`"7state="`mktemp -d`"
8cat ../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 s8cat ../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
9do9do
10 ok=010 ok=0
11 for args in "r3, r4, r5, r6" \11 for args in "r3, r4, r5, r6" \
@@ -90,6 +90,7 @@ do · 78 unmodified lines
90 "r4, #0xFFFFFF00" \90 "r4, #0xFFFFFF00" \
91 "r2, #-4" \91 "r2, #-4" \
92 "p10, #7, c2, c0, c1, #4" \92 "p10, #7, c2, c0, c1, #4" \
93 "p10, #7, r2, c0, c1, #4" \
93 "#4" \94 "#4" \
94 "#-4" \95 "#-4" \
95 ""96 ""

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