File: itbl

package info (click to toggle)
binutils 2.31.1-11
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 307,644 kB
  • sloc: ansic: 1,161,122; asm: 638,494; cpp: 128,815; exp: 68,557; makefile: 55,816; sh: 22,360; yacc: 14,238; lisp: 13,272; perl: 2,111; ada: 1,681; lex: 1,652; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (20 lines) | stat: -rw-r--r-- 915 bytes parent folder | download | duplicates (46)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

    ; Test case for assembler option "itbl".
    ; Run as "as --itbl itbl itbl.s"
    ; or with stand-alone test case "itbl-test itbl itbl.s".
    ; The "p<n>" represent processors of a multi-processor system.

    p1 dreg d1 1        ; data register "d1" for COP1 has value 1
    p1 creg c3 3        ; ctrl register "c3" for COP1 has value 3
    p3 insn fie 0x1e:24-20      ; function "fill" for COP3 has value 31
    p3 dreg d3 3        ; data register "d3" for COP3 has value 3
    p3 creg c2 22       ; control register "c2" for COP3 has value 22
    p3 insn fee 0x1e:24-20,dreg:17-13,creg:12-8,immed:7-0

    p3 dreg d3 3        ; data register "d3" for COP3 has value 3
    p3 creg c2 22       ; control register "c2" for COP3 has value 22
    p3 insn fum 0x01e00001 dreg:17-13 creg:12-8
    p3 insn foh 0xf:24-21 dreg:20-16 immed:15-0

    p3 insn pig 0x1:24-21*[0x100|0x2], dreg:20-16, immed:15-0*0x10000