mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
ec57d53342
2. Fixing several errors in disassembler uncovered by test cases. 3. Fixing invalid encoding of PCMPEQ and PCMPNE uncovered by test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118969 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
710 B
ArmAsm
23 lines
710 B
ArmAsm
# RUN: llvm-mc -triple mblaze-unknown-unknown -show-encoding %s | FileCheck %s
|
|
|
|
# Test to ensure that all FPU instructions can be parsed by the
|
|
# assembly parser correctly.
|
|
|
|
# TYPE A: OPCODE RD RA RB FLAGS
|
|
# BINARY: 011011 00000 00000 00000 00000000000
|
|
|
|
# CHECK: pcmpbf
|
|
# BINARY: 100000 00000 00001 00010 10000000000
|
|
# CHECK: encoding: [0x80,0x01,0x14,0x00]
|
|
pcmpbf r0, r1, r2
|
|
|
|
# CHECK: pcmpne
|
|
# BINARY: 100011 00000 00001 00010 10000000000
|
|
# CHECK: encoding: [0x8c,0x01,0x14,0x00]
|
|
pcmpne r0, r1, r2
|
|
|
|
# CHECK: pcmpeq
|
|
# BINARY: 100010 00000 00001 00010 10000000000
|
|
# CHECK: encoding: [0x88,0x01,0x14,0x00]
|
|
pcmpeq r0, r1, r2
|