mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 21:42:54 +02:00
74498390a3
Summary: The bug was that the sldi instructions have immediate widths dependant on their element size. So sldi.d has a 1-bit immediate and sldi.b has a 4-bit immediate. All of these were using 4-bit immediates previously. Reviewers: vkalintiris Subscribers: llvm-commits, atanasyan, dsanders Differential Revision: http://reviews.llvm.org/D14018 llvm-svn: 252297
8 lines
412 B
ArmAsm
8 lines
412 B
ArmAsm
# RUN: not llvm-mc %s -triple=mips -show-encoding -mattr=micromips 2>%t1
|
|
# RUN: FileCheck %s < %t1
|
|
|
|
break16 -1 # CHECK: :[[@LINE]]:11: error: expected 4-bit unsigned immediate
|
|
break16 16 # CHECK: :[[@LINE]]:11: error: expected 4-bit unsigned immediate
|
|
sdbbp16 -1 # CHECK: :[[@LINE]]:11: error: expected 4-bit unsigned immediate
|
|
sdbbp16 16 # CHECK: :[[@LINE]]:11: error: expected 4-bit unsigned immediate
|