OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mips/] [mips32-cp2.s] - Blame information for rev 301

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
# source file to test assembly of mips32 cop2 instructions
2
 
3
      .set noreorder
4
      .set noat
5
 
6
      .text
7
text_label:
8
      # unprivileged coprocessor instructions.
9
      # these tests use cp2 to avoid other (cp0, fpu, prefetch) opcodes.
10
 
11
      bc2f    text_label
12
      nop
13
      bc2fl   text_label
14
      nop
15
      bc2t    text_label
16
      nop
17
      bc2tl   text_label
18
      nop
19
      # XXX other BCzCond encodings not currently expressable
20
      cfc2    $1, $2
21
      cop2    0x1234567               # disassembles as c2 ...
22
      ctc2    $2, $3
23
      mfc2    $3, $4
24
      mfc2    $4, $5, 0               # disassembles without sel
25
      mfc2    $5, $6, 7
26
      mtc2    $6, $7
27
      mtc2    $7, $8, 0               # disassembles without sel
28
      mtc2    $8, $9, 7
29
 
30
 
31
      # Cop2 branches with cond code number, like bc1t/f
32
      bc2f    $cc0,text_label
33
      nop
34
      bc2fl   $cc1,text_label
35
      nop
36
      bc2t    $cc6,text_label
37
      nop
38
      bc2tl   $cc7,text_label
39
      nop

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.