mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
de712386cd
The encoding was updated in MSA r1.07. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194255 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
967 B
ArmAsm
20 lines
967 B
ArmAsm
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32r2 -mattr=+msa -arch=mips | FileCheck %s
|
|
#
|
|
# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -filetype=obj -o - | llvm-objdump -d -triple=mipsel-unknown-linux -mattr=+msa -arch=mips - | FileCheck %s -check-prefix=CHECKOBJDUMP
|
|
#
|
|
|
|
# CHECK: ldi.b $w8, 198 # encoding: [0x7b,0x06,0x32,0x07]
|
|
# CHECK: ldi.h $w20, 313 # encoding: [0x7b,0x29,0xcd,0x07]
|
|
# CHECK: ldi.w $w24, 492 # encoding: [0x7b,0x4f,0x66,0x07]
|
|
# CHECK: ldi.d $w27, -180 # encoding: [0x7b,0x7a,0x66,0xc7]
|
|
|
|
# CHECKOBJDUMP: ldi.b $w8, 198
|
|
# CHECKOBJDUMP: ldi.h $w20, 313
|
|
# CHECKOBJDUMP: ldi.w $w24, 492
|
|
# CHECKOBJDUMP: ldi.d $w27, 844
|
|
|
|
ldi.b $w8, 198
|
|
ldi.h $w20, 313
|
|
ldi.w $w24, 492
|
|
ldi.d $w27, -180
|