Also allow instructions without condition code in the first place
Showing the changes to tests (1 of 3 files). Show all
Unified · Split
| @@ -5,7 +5,7 @@ set -e · 4 unmodified lines | ||
| 5 | 5 | # Note: "{r3}" is definitely different--but would complicate the assembler. |
| 6 | 6 | |
| 7 | 7 | 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 | |
| 9 | 9 | do |
| 10 | 10 | ok=0 |
| 11 | 11 | for args in "r3, r4, r5, r6" \ |
| @@ -90,6 +90,7 @@ do · 78 unmodified lines | ||
| 90 | 90 | "r4, #0xFFFFFF00" \ |
| 91 | 91 | "r2, #-4" \ |
| 92 | 92 | "p10, #7, c2, c0, c1, #4" \ |
| 93 | + "p10, #7, r2, c0, c1, #4" \ | |
| 93 | 94 | "#4" \ |
| 94 | 95 | "#-4" \ |
| 95 | 96 | "" |