Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/ng/a64/tests/enc-refuse.cases # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / ng / a64 / tests / enc-refuse.cases` 45 lines ยท 2445 bytes Raw Blame History 1 @ng a64-enc 2 ; Refusal cases for seed/ng/a64/gate.om (step 6). One case per line: FORM operands | the one stderr line ng must 3 ; print. Each case runs alone, as line 2 of a case list `@ng a64-enc` + the case; ng must exit 5 and write nothing 4 ; to stdout. The gate also runs these cases on a mutant whose field check masks instead of refusing (a6_fld), which 5 ; must fail at least one of them. 6 ; In-field values whose encoding Arm ARM DDI 0487 M.d reserves (a6_rsv, a64.om): 32-bit shift amounts, BFM immr and 7 ; imms and MOVZ/MOVN hw; sh 3 on ADD/SUB shifted register; sh or amt on a kind-1 form without a shift field. 8 addw 1 2 3 0 32 | a64: reserved operand value 32 9 andw 1 2 3 0 32 | a64: reserved operand value 32 10 addx 1 2 3 3 0 | a64: reserved operand value 3 11 subsw 1 2 3 3 0 | a64: reserved operand value 3 12 movzw 1 5 2 | a64: reserved operand value 2 13 movnw 1 5 3 | a64: reserved operand value 3 14 ubfmw 1 2 40 3 | a64: reserved operand value 40 15 sbfmw 1 2 3 40 | a64: reserved operand value 40 16 mulx 1 2 3 0 1 | a64: reserved operand value 1 17 lslvw 1 2 3 1 0 | a64: reserved operand value 1 18 faddd 1 2 3 0 4 | a64: reserved operand value 4 19 fadd4s 1 2 3 0 1 | a64: reserved operand value 1 20 fmla2d 1 2 3 1 0 | a64: reserved operand value 1 21 orr16b 1 2 2 0 2 | a64: reserved operand value 2 22 ; Values outside their field (a6_fld, a6_bmenc, a6_dsig), and a line naming no form. 23 addxi 1 2 4096 0 | a64: immediate out of range 4096 24 addx 32 2 3 0 0 | a64: immediate out of range 32 25 addx 1 2 3 4 0 | a64: immediate out of range 4 26 addx 1 2 3 0 64 | a64: immediate out of range 64 27 movzx 1 65536 0 | a64: immediate out of range 65536 28 movzx 1 5 4 | a64: immediate out of range 4 29 ubfmx 1 2 64 0 | a64: immediate out of range 64 30 extrx 1 2 3 64 | a64: immediate out of range 64 31 andxi 1 2 0 | a64: immediate out of range 0 32 cbzx 1 262144 | a64: branch out of range 262144 33 b `33554432` | a64: branch out of range `33554432` 34 msrfpcr 32 | a64: immediate out of range 32 35 fcseld 1 2 3 16 | a64: immediate out of range 16 36 dup2d 32 1 | a64: immediate out of range 32 37 strqr 1 2 3 2 | a64: immediate out of range 2 38 strq 1 31 4096 | a64: immediate out of range 4096 39 ldrq 1 31 4096 | a64: immediate out of range 4096 40 ldrqr 1 2 3 2 | a64: immediate out of range 2 41 dupv4s 1 2 4 | a64: immediate out of range 4 42 dupv2d 1 2 2 | a64: immediate out of range 2 43 dups 1 2 4 | a64: immediate out of range 4 44 dupd 1 2 2 | a64: immediate out of range 2 45 nosuch 1 2 | a64: bad encoder case at line 2