mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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:
14
test/MC/Disassembler/MBlaze/mblaze_mbar.txt
Normal file
14
test/MC/Disassembler/MBlaze/mblaze_mbar.txt
Normal 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
|
@@ -12,3 +12,6 @@
|
||||
|
||||
# CHECK: pcmpeq r0, r1, r2
|
||||
0x88 0x01 0x14 0x00
|
||||
|
||||
# CHECK: clz r0, r1
|
||||
0x90 0x01 0x00 0xE0
|
||||
|
Reference in New Issue
Block a user