Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / MBlaze / mblaze_pattern.s
blob6bbc234e3d43af11e17e9fb3de0e1f049eb39b86
1 # RUN: llvm-mc -triple mblaze-unknown-unknown -show-encoding %s | FileCheck %s
3 # Test to ensure that all FPU instructions can be parsed by the
4 # assembly parser correctly.
6 # TYPE A: OPCODE RD RA RB FLAGS
7 # BINARY: 011011 00000 00000 00000 00000000000
9 # CHECK: pcmpbf
10 # BINARY: 100000 00000 00001 00010 10000000000
11 # CHECK: encoding: [0x80,0x01,0x14,0x00]
12 pcmpbf r0, r1, r2
14 # CHECK: pcmpne
15 # BINARY: 100011 00000 00001 00010 10000000000
16 # CHECK: encoding: [0x8c,0x01,0x14,0x00]
17 pcmpne r0, r1, r2
19 # CHECK: pcmpeq
20 # BINARY: 100010 00000 00001 00010 10000000000
21 # CHECK: encoding: [0x88,0x01,0x14,0x00]
22 pcmpeq r0, r1, r2