[mips] Use TwoOperandAliasConstraint for ArithLogicR instructions.
[oota-llvm.git] / test / MC / Mips / octeon-instructions.s
1 # RUN: llvm-mc  %s -triple=mips64-unknown-linux -show-encoding -mcpu=octeon | FileCheck %s
2
3 # CHECK: baddu $9, $6, $7             # encoding: [0x70,0xc7,0x48,0x28]
4 # CHECK: baddu $17, $18, $19          # encoding: [0x72,0x53,0x88,0x28]
5 # CHECK: dmul  $9, $9, $6             # encoding: [0x71,0x26,0x48,0x03]
6 # CHECK: dmul  $9, $6, $7             # encoding: [0x70,0xc7,0x48,0x03]
7 # CHECK: dmul  $19, $24, $25          # encoding: [0x73,0x19,0x98,0x03]
8 # CHECK: dpop  $9, $6                 # encoding: [0x70,0xc0,0x48,0x2d]
9 # CHECK: dpop  $15, $22               # encoding: [0x72,0xc0,0x78,0x2d]
10 # CHECK: pop   $9, $6                 # encoding: [0x70,0xc0,0x48,0x2c]
11 # CHECK: pop   $8, $19                # encoding: [0x72,0x60,0x40,0x2c]
12 # CHECK: seq   $25, $23, $24          # encoding: [0x72,0xf8,0xc8,0x2a]
13 # CHECK: sne   $25, $23, $24          # encoding: [0x72,0xf8,0xc8,0x2b]
14
15   baddu $9, $6, $7
16   baddu $17, $18, $19
17   dmul  $9, $6
18   dmul  $9, $6, $7
19   dmul  $19, $24, $25
20   dpop  $9, $6
21   dpop  $15, $22
22   pop   $9, $6
23   pop   $8, $19
24   seq   $25, $23, $24
25   sne   $25, $23, $24