annotate test/MC/Mips/mul-macro-variants.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
1 # RUN: llvm-mc %s -triple mips-unknown-linux -show-encoding -mcpu=mips64r2 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
2 # RUN: llvm-mc %s -triple mips-unknown-linux -show-encoding -mcpu=mips64r3 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
3 # RUN: llvm-mc %s -triple mips-unknown-linux -show-encoding -mcpu=mips64r5 | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
4
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
5 # RUN: llvm-mc %s -triple mips-unknown-linux -show-encoding -mattr=use-tcc-in-div -mcpu=mips64 | FileCheck %s --check-prefix=CHECK-TRAP
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
6 # RUN: llvm-mc %s -triple mips-unknown-linux -show-encoding -mattr=use-tcc-in-div -mcpu=mips64r2 | FileCheck %s --check-prefix=CHECK-TRAP
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
7 # RUN: llvm-mc %s -triple mips-unknown-linux -show-encoding -mattr=use-tcc-in-div -mcpu=mips64r3 | FileCheck %s --check-prefix=CHECK-TRAP
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
8 # RUN: llvm-mc %s -triple mips-unknown-linux -show-encoding -mattr=use-tcc-in-div -mcpu=mips64r5 | FileCheck %s --check-prefix=CHECK-TRAP
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
9
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
10 .text
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
11 text_label:
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
12
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
13 mul $4, $5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
14 # CHECK: mul $4, $4, $5 # encoding: [0x70,0x85,0x20,0x02]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
15 # CHECK-TRAP: mul $4, $4, $5 # encoding: [0x70,0x85,0x20,0x02]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
16 mul $4, $5, $6
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
17 # CHECK: mul $4, $5, $6 # encoding: [0x70,0xa6,0x20,0x02]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
18 # CHECK-TRAP: mul $4, $5, $6 # encoding: [0x70,0xa6,0x20,0x02]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
19 mul $4, $5, 0
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
20 # CHECK: addiu $1, $zero, 0 # encoding: [0x24,0x01,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
21 # CHECK: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
22 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
23 # CHECK-TRAP: addiu $1, $zero, 0 # encoding: [0x24,0x01,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
24 # CHECK-TRAP: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
25 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
26 mul $4, $5, 1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
27 # CHECK: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
28 # CHECK: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
29 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
30 # CHECK-TRAP: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
31 # CHECK-TRAP: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
32 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
33 mul $4, $5, 0x8000
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
34 # CHECK: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
35 # CHECK: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
36 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
37 # CHECK-TRAP: ori $1, $zero, 32768 # encoding: [0x34,0x01,0x80,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
38 # CHECK-TRAP: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
39 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
40 mul $4, $5, -0x8000
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
41 # CHECK: addiu $1, $zero, -32768 # encoding: [0x24,0x01,0x80,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
42 # CHECK: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
43 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
44 # CHECK-TRAP: addiu $1, $zero, -32768 # encoding: [0x24,0x01,0x80,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
45 # CHECK-TRAP: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
46 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
47 mul $4, $5, 0x10000
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
48 # CHECK: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
49 # CHECK: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
50 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
51 # CHECK-TRAP: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
52 # CHECK-TRAP: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
53 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
54 mul $4, $5, 0x1a5a5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
55 # CHECK: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
56 # CHECK: ori $1, $1, 42405 # encoding: [0x34,0x21,0xa5,0xa5]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
57 # CHECK: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
58 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
59 # CHECK-TRAP: lui $1, 1 # encoding: [0x3c,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
60 # CHECK-TRAP: ori $1, $1, 42405 # encoding: [0x34,0x21,0xa5,0xa5]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
61 # CHECK-TRAP: mult $5, $1 # encoding: [0x00,0xa1,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
62 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
63 mulo $4, $5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
64 # CHECK: mult $4, $5 # encoding: [0x00,0x85,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
65 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
66 # CHECK: sra $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc3]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
67 # CHECK: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
68 # CHECK: beq $4, $1, $tmp0 # encoding: [0x10,0x81,A,A]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
69 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
70 # CHECK: break 6 # encoding: [0x00,0x06,0x00,0x0d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
71 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
72 # CHECK-TRAP: mult $4, $5 # encoding: [0x00,0x85,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
73 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
74 # CHECK-TRAP: sra $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc3]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
75 # CHECK-TRAP: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
76 # CHECK-TRAP: tne $4, $1, 6 # encoding: [0x00,0x81,0x01,0xb6]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
77 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
78
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
79 mulo $4, $5, $6
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
80 # CHECK: mult $5, $6 # encoding: [0x00,0xa6,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
81 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
82 # CHECK: sra $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc3]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
83 # CHECK: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
84 # CHECK: beq $4, $1, $tmp1 # encoding: [0x10,0x81,A,A]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
85 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
86 # CHECK: break 6 # encoding: [0x00,0x06,0x00,0x0d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
87 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
88 # CHECK-TRAP: mult $5, $6 # encoding: [0x00,0xa6,0x00,0x18]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
89 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
90 # CHECK-TRAP: sra $4, $4, 31 # encoding: [0x00,0x04,0x27,0xc3]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
91 # CHECK-TRAP: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
92 # CHECK-TRAP: tne $4, $1, 6 # encoding: [0x00,0x81,0x01,0xb6]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
93 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
94 mulou $4,$5
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
95 # CHECK: multu $4, $5 # encoding: [0x00,0x85,0x00,0x19]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
96 # CHECK: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
97 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
98 # CHECK: beqz $1, $tmp2 # encoding: [0x10,0x20,A,A]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
99 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
100 # CHECK: break 6 # encoding: [0x00,0x06,0x00,0x0d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
101 # CHECK-TRAP: multu $4, $5 # encoding: [0x00,0x85,0x00,0x19]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
102 # CHECK-TRAP: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
103 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
104 # CHECK-TRAP: tne $1, $zero, 6 # encoding: [0x00,0x20,0x01,0xb6]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
105 mulou $4, $5, $6
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
106 # CHECK: multu $5, $6 # encoding: [0x00,0xa6,0x00,0x19]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
107 # CHECK: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
108 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
109 # CHECK: beqz $1, $tmp3 # encoding: [0x10,0x20,A,A]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
110 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
111 # CHECK: break 6 # encoding: [0x00,0x06,0x00,0x0d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
112 # CHECK-TRAP: multu $5, $6 # encoding: [0x00,0xa6,0x00,0x19]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
113 # CHECK-TRAP: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
114 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
115 # CHECK-TRAP: tne $1, $zero, 6 # encoding: [0x00,0x20,0x01,0xb6]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
116
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
117 dmul $4, $5, $6
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
118 # CHECK: dmultu $5, $6 # encoding: [0x00,0xa6,0x00,0x1d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
119 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
120 # CHECK-TRAP dmultu $5, $6 # encoding: [0x00,0xa6,0x00,0x1d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
121 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
122 dmul $4, $5, 1
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
123 # CHECK: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
124 # CHECK: dmult $5, $1 # encoding: [0x00,0xa1,0x00,0x1c]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
125 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
126 # CHECK-TRAP: addiu $1, $zero, 1 # encoding: [0x24,0x01,0x00,0x01]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
127 # CHECK-TRAP: dmult $5, $1 # encoding: [0x00,0xa1,0x00,0x1c]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
128 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
129 dmulo $4, $5, $6
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
130 # CHECK: dmult $5, $6 # encoding: [0x00,0xa6,0x00,0x1c]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
131 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
132 # CHECK: dsra32 $4, $4, 31 # encoding: [0x00,0x04,0x27,0xff]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
133 # CHECK: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
134 # CHECK: beq $4, $1, $tmp4 # encoding: [0x10,0x81,A,A]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
135 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
136 # CHECK: break 6 # encoding: [0x00,0x06,0x00,0x0d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
137 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
138 # CHECK-TRAP: dmult $5, $6 # encoding: [0x00,0xa6,0x00,0x1c]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
139 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
140 # CHECK-TRAP: dsra32 $4, $4, 31 # encoding: [0x00,0x04,0x27,0xff]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
141 # CHECK-TRAP: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
142 # CHECK-TRAP: tne $4, $1, 6 # encoding: [0x00,0x81,0x01,0xb6]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
143 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
144 dmulou $4,$5,$6
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
145 # CHECK: dmultu $5, $6 # encoding: [0x00,0xa6,0x00,0x1d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
146 # CHECK: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
147 # CHECK: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
148 # CHECK: beqz $1, $tmp5 # encoding: [0x10,0x20,A,A]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
149 # CHECK: nop # encoding: [0x00,0x00,0x00,0x00]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
150 # CHECK: break 6 # encoding: [0x00,0x06,0x00,0x0d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
151 # CHECK-TRAP: dmultu $5, $6 # encoding: [0x00,0xa6,0x00,0x1d]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
152 # CHECK-TRAP: mfhi $1 # encoding: [0x00,0x00,0x08,0x10]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
153 # CHECK-TRAP: mflo $4 # encoding: [0x00,0x00,0x20,0x12]
803732b1fca8 LLVM 5.0
kono
parents:
diff changeset
154 # CHECK-TRAP: tne $1, $zero, 6 # encoding: [0x00,0x20,0x01,0xb6]