Add several new instructions supported by the latest MicroBlaze.

These instructions are not generated by the backend yet, this will come in a later commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145161 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Wesley Peck
2011-11-27 05:16:58 +00:00
parent fed700da60
commit 4c729f1152
6 changed files with 70 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
# RUN: llvm-mc --disassemble %s -triple=mblaze-unknown-unknown | FileCheck %s
################################################################################
# Memory Barrier instructions
################################################################################
# CHECK: mbar 0
0xB8 0x02 0x00 0x04
# CHECK: mbar 1
0xB8 0x22 0x00 0x04
# CHECK: mbar 2
0xB8 0x42 0x00 0x04

View File

@@ -12,3 +12,6 @@
# CHECK: pcmpeq r0, r1, r2
0x88 0x01 0x14 0x00
# CHECK: clz r0, r1
0x90 0x01 0x00 0xE0