mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
0f040daba7
1. The arch directive now appears before the cpu directive 2. Long run lines were split across multiple lines No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197588 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
962 B
ArmAsm
21 lines
962 B
ArmAsm
# 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
|
|
lsa $8, $9, $10, 4
|