File: mips-dsp.txt

package info (click to toggle)
llvm-toolchain-3.4 1%3A3.4.2-13
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 253,236 kB
  • ctags: 276,203
  • sloc: cpp: 1,665,580; ansic: 298,647; asm: 206,157; objc: 84,350; python: 73,119; sh: 23,466; perl: 5,679; makefile: 5,542; ml: 5,250; pascal: 2,467; lisp: 1,420; xml: 679; cs: 236; csh: 117
file content (22 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# RUN: llvm-mc -triple=mipsel-unknown-linux -mattr=+dsp -disassemble < %s | FileCheck %s

# CHECK: mfhi $21, $ac3
0x10 0xa8 0x60 0x00

# CHECK: mflo $21, $ac3
0x12 0xa8 0x60 0x00

# CHECK: mthi $21, $ac3
0x11 0x18 0xa0 0x02

# CHECK: mtlo $21, $ac3
0x13 0x18 0xa0 0x02

# CHECK: lbux $10, $20($26)
0x8a 0x51 0x54 0x7f

# CHECK: lhx  $11, $21($27)
0x0a 0x59 0x75 0x7f

# CHECK: lwx  $12, $22($gp)
0x0a 0x60 0x96 0x7f