mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
[mips] Move disassembler tests (Mips MSA test_lsa, test_dlsa) into correct folder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208588 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f666827156
commit
e18828fb2b
6
test/MC/Disassembler/Mips/msa/test_dlsa.txt
Normal file
6
test/MC/Disassembler/Mips/msa/test_dlsa.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips64r2 -mattr=+msa | FileCheck %s
|
||||
|
||||
0x01 0x2a 0x40 0x15 # CHECK: dlsa $8, $9, $10, 1
|
||||
0x01 0x2a 0x40 0x55 # CHECK: dlsa $8, $9, $10, 2
|
||||
0x01 0x2a 0x40 0x95 # CHECK: dlsa $8, $9, $10, 3
|
||||
0x01 0x2a 0x40 0xd5 # CHECK: dlsa $8, $9, $10, 4
|
6
test/MC/Disassembler/Mips/msa/test_lsa.txt
Normal file
6
test/MC/Disassembler/Mips/msa/test_lsa.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips32r2 -mattr=+msa | FileCheck %s
|
||||
|
||||
0x01 0x2a 0x40 0x05 # CHECK: lsa $8, $9, $10, 1
|
||||
0x01 0x2a 0x40 0x45 # CHECK: lsa $8, $9, $10, 2
|
||||
0x01 0x2a 0x40 0x85 # CHECK: lsa $8, $9, $10, 3
|
||||
0x01 0x2a 0x40 0xc5 # CHECK: lsa $8, $9, $10, 4
|
@ -1,20 +1,11 @@
|
||||
# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 -mattr=+msa -show-encoding | \
|
||||
# RUN: FileCheck %s
|
||||
#
|
||||
# RUN: llvm-mc %s -arch=mips -mcpu=mips64r2 -mattr=+msa -filetype=obj -o - | \
|
||||
# RUN: llvm-objdump -d -arch=mips64 -mattr=+msa - | \
|
||||
# RUN: FileCheck %s -check-prefix=CHECKOBJDUMP
|
||||
#
|
||||
# CHECK: dlsa $8, $9, $10, 1 # encoding: [0x01,0x2a,0x40,0x15]
|
||||
# CHECK: dlsa $8, $9, $10, 2 # encoding: [0x01,0x2a,0x40,0x55]
|
||||
# CHECK: dlsa $8, $9, $10, 3 # encoding: [0x01,0x2a,0x40,0x95]
|
||||
# CHECK: dlsa $8, $9, $10, 4 # encoding: [0x01,0x2a,0x40,0xd5]
|
||||
|
||||
# CHECKOBJDUMP: dlsa $8, $9, $10, 1
|
||||
# CHECKOBJDUMP: dlsa $8, $9, $10, 2
|
||||
# CHECKOBJDUMP: dlsa $8, $9, $10, 3
|
||||
# CHECKOBJDUMP: dlsa $8, $9, $10, 4
|
||||
|
||||
dlsa $8, $9, $10, 1
|
||||
dlsa $8, $9, $10, 2
|
||||
dlsa $8, $9, $10, 3
|
||||
|
@ -1,19 +1,10 @@
|
||||
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s
|
||||
#
|
||||
# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -filetype=obj -o - | \
|
||||
# RUN: llvm-objdump -d -arch=mips -mattr=+msa - | \
|
||||
# RUN: FileCheck %s -check-prefix=CHECKOBJDUMP
|
||||
#
|
||||
# CHECK: lsa $8, $9, $10, 1 # encoding: [0x01,0x2a,0x40,0x05]
|
||||
# CHECK: lsa $8, $9, $10, 2 # encoding: [0x01,0x2a,0x40,0x45]
|
||||
# CHECK: lsa $8, $9, $10, 3 # encoding: [0x01,0x2a,0x40,0x85]
|
||||
# CHECK: lsa $8, $9, $10, 4 # encoding: [0x01,0x2a,0x40,0xc5]
|
||||
|
||||
# CHECKOBJDUMP: lsa $8, $9, $10, 1
|
||||
# CHECKOBJDUMP: lsa $8, $9, $10, 2
|
||||
# CHECKOBJDUMP: lsa $8, $9, $10, 3
|
||||
# CHECKOBJDUMP: lsa $8, $9, $10, 4
|
||||
|
||||
lsa $8, $9, $10, 1
|
||||
lsa $8, $9, $10, 2
|
||||
lsa $8, $9, $10, 3
|
||||
|
Loading…
Reference in New Issue
Block a user