File: itbl

package info (click to toggle)
binutils 2.34-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 328,380 kB
  • sloc: ansic: 1,180,155; asm: 665,310; cpp: 130,540; exp: 69,822; makefile: 57,183; sh: 22,559; yacc: 14,469; lisp: 13,785; perl: 2,112; ada: 1,681; lex: 1,650; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (19 lines) | stat: -rw-r--r-- 903 bytes parent folder | download | duplicates (47)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

    ; Test case for assembler option "itbl".
    ; Run as "as --itbl itbl itbl.s"
    ; or with stand-alone test case "itbl-test itbl itbl.s".
    ; Here, the processors represent mips coprocessors.

    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